summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-05-23 16:27:20 +0200
committervarac <varacanero@zeromail.org>2017-05-23 16:27:20 +0200
commit2533f6f978bd3f0ee8187ee8827eb94b7e696377 (patch)
tree8ea44788b169b1d67119f60b8277780df00b209e
parent0e09968d8ed3f245a238306de43a037d0749fd5a (diff)
parentf93953299044ffa0154c08368ecb91b7a3f08a93 (diff)
Merge remote-tracking branch 'leap_acab/merge-requests/89'
-rwxr-xr-xbin/node_init5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/node_init b/bin/node_init
index e86374b6..24345b47 100755
--- a/bin/node_init
+++ b/bin/node_init
@@ -91,3 +91,8 @@ fi
mkdir -p $HIERA_DIR
chmod 0755 $HIERA_DIR
touch $INIT_FILE
+
+# Sometimes not all keys are already generated, happens more often
+# with VMs
+# that would give us errors in the get_ssh_keys_cmd during node init
+/usr/bin/ssh-keygen -A