[pve-devel] [PATCH cluster] create known_hosts symlink on join

Dominik Csapak d.csapak at proxmox.com
Wed Apr 11 09:26:38 CEST 2018


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 data/PVE/Cluster.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index fabf5bc..ef7a541 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -1890,7 +1890,7 @@ sub updatecerts_and_ssh {
 
     $p->("merge authorized SSH keys and known hosts");
     ssh_merge_keys();
-    ssh_merge_known_hosts($nodename, $local_ip_address);
+    ssh_merge_known_hosts($nodename, $local_ip_address, 1);
     gen_pve_vzdump_files();
 }
 
-- 
2.11.0





More information about the pve-devel mailing list