9d33e97cde
- Forward port fix-authorized-keys-location.patch OBS-URL: https://build.opensuse.org/request/show/906183 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/afterburn?expand=0&rev=12
14 lines
465 B
Diff
14 lines
465 B
Diff
--- src/providers/mod.rs.orig
|
|
+++ src/providers/mod.rs
|
|
@@ -87,8 +87,8 @@ fn write_ssh_keys(user: User, ssh_keys:
|
|
.context("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() {
|