Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
fix cloud-init lock_passwd
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Jun 25, 2019
1 parent cba20b2 commit ae658f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloud-init/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ type User struct {
// Optional. Import SSH ids
SSHImportID string `yaml:"ssh_import_id,omitempty"`
//Defaults to true. Lock the password to disable password login
LockPasswd bool `yaml:"lock_passwd,omitempty"`
LockPasswd *bool `yaml:"lock_passwd,omitempty"`
//When set to true, do not create home directory
NoCreateHome bool `yaml:"no_create_home,omitempty"`
//When set to true, do not create a group named after the user.
Expand Down

0 comments on commit ae658f1

Please sign in to comment.