incus-osd/seed: Use same syntax for JSON and YAML

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2025-04-04 00:08:02 -04:00
parent 340dca3534
commit 0c4b22db4d

View File

@@ -2,9 +2,9 @@ package seed
// InstallConfig defines a struct to hold install configuration.
type InstallConfig struct {
ForceInstall bool `json:"force_install" yaml:"forceInstall"` // If true, ignore any existing data on target install disk.
ForceReboot bool `json:"force_reboot" yaml:"forceReboot"` // If true, reboot the system automatically upon completion rather than waiting for the install media to be removed.
Target *InstallConfigTarget `json:"target" yaml:"target"` // Optional selector for the target install disk; if not set, expect a single drive to be present.
ForceInstall bool `json:"force_install" yaml:"force_install"` // If true, ignore any existing data on target install disk.
ForceReboot bool `json:"force_reboot" yaml:"force_reboot"` // If true, reboot the system automatically upon completion rather than waiting for the install media to be removed.
Target *InstallConfigTarget `json:"target" yaml:"target"` // Optional selector for the target install disk; if not set, expect a single drive to be present.
}
// InstallConfigTarget defines options used to select the target install disk.