Skip to content

Commit

Permalink
change dir where ssh keys are written
Browse files Browse the repository at this point in the history
  • Loading branch information
kikisdeliveryservice committed Mar 26, 2019
1 parent 47cbc2d commit dba3422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/daemon/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ func getFileOwnership(file ignv2_2types.File) (int, int, error) {
}

func (dn *Daemon) atomicallyWriteSSHKey(newUser ignv2_2types.PasswdUser, keys string) error {
authKeyPath := filepath.Join(coreUserSSHPath, "authorized_keys")
authKeyPath := filepath.Join(coreUserSSHPath, "authorized_keys.d", "ignition")

// Keys should only be written to "/home/core/.ssh"
// Once Users are supported fully this should be writing to PasswdUser.HomeDir
Expand Down

0 comments on commit dba3422

Please sign in to comment.