Skip to content

Commit

Permalink
Set shell to bash by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dvob committed May 24, 2021
1 parent c03c595 commit f948d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/cloudinit/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func NewDefaultConfig(name, user, sshPubKey string) *Config {
SSHAuthorizedKeys: []string{
sshPubKey,
},
Shell: "/bin/bash",
},
},
},
Expand Down
1 change: 1 addition & 0 deletions internal/cloudinit/user_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type User struct {
Sudo string `json:"sudo,omitempty"`
LockPasswd *bool `json:"lock_passwd,omitempty"`
Passwd string `json:"passwd,omitempty"`
Shell string `json:"shell"`
}

func (ud *UserData) Marshal() ([]byte, error) {
Expand Down

0 comments on commit f948d8e

Please sign in to comment.