mirror of
https://github.com/outbackdingo/incus-os.git
synced 2026-01-27 10:19:24 +00:00
incus-osd/seed: Use same syntax for JSON and YAML
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user