-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prefer extraConfig over OVF env, skip empty config
Some users reported that OVF env takes precedence over extraConfig. Combined with the fact that `talos.config` is mandatory in the OVA spec, this causes two problems: - when you don't supply the mandatory OVF env, it will cause an empty Talos config to be retrieved, which is unparsable; - when you deploy a VM, you cannot override the built in Talos config, as OVF env takes precedence over extraConfig. This patch fixes this in two ways: - config from OVF env needs to be non-empty. - the order in which OVF env/extraConfig are probed is reversed. Signed-off-by: Jorik Jonker <jorik.jonker@eu.equinix.com>
- Loading branch information
Showing
1 changed file
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters