Blame internal/osbuild1/first_boot_stage.go
|
Packit Service |
15f37d |
package osbuild1
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
type FirstBootStageOptions struct {
|
|
Packit Service |
15f37d |
Commands []string `json:"commands"`
|
|
Packit Service |
15f37d |
WaitForNetwork bool `json:"wait_for_network,omitempty"`
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
func (FirstBootStageOptions) isStageOptions() {}
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
func NewFirstBootStage(options *FirstBootStageOptions) *Stage {
|
|
Packit Service |
15f37d |
return &Stage{
|
|
Packit Service |
15f37d |
Name: "org.osbuild.first-boot",
|
|
Packit Service |
15f37d |
Options: options,
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
}
|