mirror of
https://github.com/rancher/os.git
synced 2025-09-04 08:14:21 +00:00
Merge pull request #376 from imikushin/fix-machine
support "docker" user for docker-machine amazonec2
This commit is contained in:
@@ -311,6 +311,7 @@ func executeCloudConfig() error {
|
|||||||
|
|
||||||
if len(cc.SSHAuthorizedKeys) > 0 {
|
if len(cc.SSHAuthorizedKeys) > 0 {
|
||||||
authorizeSSHKeys("rancher", cc.SSHAuthorizedKeys, sshKeyName)
|
authorizeSSHKeys("rancher", cc.SSHAuthorizedKeys, sshKeyName)
|
||||||
|
authorizeSSHKeys("docker", cc.SSHAuthorizedKeys, sshKeyName)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, user := range cc.Users {
|
for _, user := range cc.Users {
|
||||||
|
Reference in New Issue
Block a user