Blame internal/osbuild/sysconfig_stage.go
|
Packit Service |
bcdfb1 |
package osbuild
|
|
Packit Service |
bcdfb1 |
|
|
Packit Service |
bcdfb1 |
type SysconfigStageOptions struct {
|
|
Packit Service |
bcdfb1 |
Kernel SysconfigKernelOptions `json:"kernel,omitempty"`
|
|
Packit Service |
bcdfb1 |
Network SysconfigNetworkOptions `json:"network,omitempty"`
|
|
Packit Service |
bcdfb1 |
}
|
|
Packit Service |
bcdfb1 |
|
|
Packit Service |
bcdfb1 |
type SysconfigNetworkOptions struct {
|
|
Packit Service |
bcdfb1 |
Networking bool `json:"networking,omitempty"`
|
|
Packit Service |
bcdfb1 |
NoZeroConf bool `json:"no_zero_conf,omitempty"`
|
|
Packit Service |
bcdfb1 |
}
|
|
Packit Service |
bcdfb1 |
|
|
Packit Service |
bcdfb1 |
type SysconfigKernelOptions struct {
|
|
Packit Service |
bcdfb1 |
UpdateDefault bool `json:"update_default,omitempty"`
|
|
Packit Service |
bcdfb1 |
DefaultKernel string `json:"default_kernel,omitempty"`
|
|
Packit Service |
bcdfb1 |
}
|
|
Packit Service |
bcdfb1 |
|
|
Packit Service |
bcdfb1 |
func (SysconfigStageOptions) isStageOptions() {}
|
|
Packit Service |
bcdfb1 |
|
|
Packit Service |
bcdfb1 |
func NewSysconfigStage(options *SysconfigStageOptions) *Stage {
|
|
Packit Service |
bcdfb1 |
return &Stage{
|
|
Packit Service |
bcdfb1 |
Name: "org.osbuild.sysconfig",
|
|
Packit Service |
bcdfb1 |
Options: options,
|
|
Packit Service |
bcdfb1 |
}
|
|
Packit Service |
bcdfb1 |
}
|