Skip to content

Commit 57528fc

Browse files
committed
platform/metal: document installerConfig struct
Haven't looked at this code in a while. It took me a second to realize this was talking about the coreos-installer config file.
1 parent 4d815e6 commit 57528fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mantle/platform/metal.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,8 @@ func (inst *Install) runPXE(kern *kernelSetup, offline bool) (*InstalledMachine,
587587
return &instmachine, nil
588588
}
589589

590+
// This object gets serialized to YAML and fed to coreos-installer:
591+
// https://coreos.github.io/coreos-installer/customizing-install/#config-file-format
590592
type installerConfig struct {
591593
ImageURL string `yaml:"image-url,omitempty"`
592594
IgnitionFile string `yaml:"ignition-file,omitempty"`

0 commit comments

Comments
 (0)