1
0
mirror of https://github.com/rancher/os.git synced 2025-09-05 16:52:20 +00:00

cloudinit: do not abort on configuration errors

This commit is contained in:
Ivan Mikushin
2015-08-20 19:42:33 +05:00
parent 642c557c73
commit ed09b30692
2 changed files with 6 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ func authorizeSSHKeys(user string, authorizedKeys []string, name string) {
cmd.Stderr = os.Stderr
err := cmd.Run()
if err != nil {
log.Fatal(err.Error())
log.WithFields(log.Fields{"err": err, "user": user, "auth_key": authorizedKey}).Error("Error updating SSH authorized_keys")
}
}
}