From 013b6f0697050532a9c62e7a62eb81025b9317b1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 29 Mar 2017 22:48:40 -0300 Subject: Ensure SSH folder exists at kvmx_rotate_sshkeys --- kvmx | 1 + 1 file changed, 1 insertion(+) diff --git a/kvmx b/kvmx index 8fe576b..db7514c 100755 --- a/kvmx +++ b/kvmx @@ -677,6 +677,7 @@ function kvmx_log { # Rotate SSH keys function kvmx_rotate_sshkeys { # Generate new keypair + mkdir -p "$STORAGE/ssh" SSHKEY="$STORAGE/ssh/$VM.key" $DIRNAME/kvmx-keygen $SSHKEY.new "$user@`basename $image .img`" -- cgit v1.2.3