From 0fd4a6721d066a9adbc16009b7b787553074418e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 22 May 2020 11:42:04 -0300 Subject: Fix: ssh pubkey file name evaluation --- kvmx-create | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kvmx-create') diff --git a/kvmx-create b/kvmx-create index f1d998e..f31ec5b 100755 --- a/kvmx-create +++ b/kvmx-create @@ -423,6 +423,9 @@ EOF # Initial user homedir kvmx_sudo_run mkdir -p $WORK/home/$user + # There might be trouble managing the guest SSH keys when project folder name is different from + # hostname: while kvmx-create uses $hostname to guess the pubkey file name, kvmx uses $VM. + # Here we hope that # the user is not messing that much ;) #if [ "$ssh_support" == "y" ]; then if [ "$ssh_custom" == "y" ]; then if [ ! -z "$ssh_custom_pubkey" ]; then -- cgit v1.2.3