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