forked from pool/afterburn
14 lines
472 B
Diff
14 lines
472 B
Diff
|
--- src/providers/mod.rs.orig
|
||
|
+++ src/providers/mod.rs
|
||
|
@@ -130,8 +130,8 @@ fn write_ssh_keys(user: User, ssh_keys:
|
||
|
.chain_err(|| "failed to switch user/group")?;
|
||
|
|
||
|
// get paths
|
||
|
- let dir_path = user.home_dir().join(".ssh").join("authorized_keys.d");
|
||
|
- let file_name = "afterburn";
|
||
|
+ let dir_path = user.home_dir().join(".ssh");
|
||
|
+ let file_name = "authorized_keys";
|
||
|
let file_path = &dir_path.join(file_name);
|
||
|
|
||
|
if !ssh_keys.is_empty() {
|