mirror of
https://github.com/rancher/os.git
synced 2025-06-30 16:51:47 +00:00
duplicate ssh keys into "docker" user
This commit is contained in:
parent
bd607c3f58
commit
0d15d2b64d
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user