Allow installing with no users (#574)

This commit is contained in:
Itxaka
2024-10-10 14:18:59 +02:00
committed by GitHub
parent e8bb8cf4ff
commit a3aadbbaa9
4 changed files with 96 additions and 48 deletions

View File

@@ -55,6 +55,7 @@ type Install struct {
ExtraPartitions sdkTypes.PartitionList `yaml:"extra-partitions,omitempty" mapstructure:"extra-partitions"`
ExtraDirsRootfs []string `yaml:"extra-dirs-rootfs,omitempty" mapstructure:"extra-dirs-rootfs"`
Force bool `yaml:"force,omitempty" mapstructure:"force"`
NoUsers bool `yaml:"nousers,omitempty" mapstructure:"nousers"`
}
func NewConfig(opts ...GenericOptions) *Config {