Skip to content

Commit

Permalink
Merge pull request #22 from gabriel-samfira/explicitly-set-users-field
Browse files Browse the repository at this point in the history
Explicitly set the users section
  • Loading branch information
gabriel-samfira committed Jan 27, 2024
2 parents a9efac1 + b8f9f86 commit ceeb0b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloudconfig/cloudconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func NewDefaultCloudInitConfig() *CloudInit {
"curl",
"tar",
},
Users: []string{"default"},
SystemInfo: &SystemInfo{
DefaultUser: DefaultUser{
Name: defaults.DefaultUser,
Expand Down Expand Up @@ -69,6 +70,7 @@ type File struct {
type CloudInit struct {
mux sync.Mutex

Users []string `yaml:"users"`
PackageUpgrade bool `yaml:"package_upgrade"`
Packages []string `yaml:"packages,omitempty"`
SSHAuthorizedKeys []string `yaml:"ssh_authorized_keys,omitempty"`
Expand Down

0 comments on commit ceeb0b7

Please sign in to comment.