aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-22 11:42:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-22 11:42:04 -0300
commit0fd4a6721d066a9adbc16009b7b787553074418e (patch)
tree52cd7201f82baae9bafb2feba7fed420050d9116 /kvmx-create
parente42b295ef928e79cf17fcc39429ded27ea19a84a (diff)
downloadkvmx-0fd4a6721d066a9adbc16009b7b787553074418e.tar.gz
kvmx-0fd4a6721d066a9adbc16009b7b787553074418e.tar.bz2
Fix: ssh pubkey file name evaluation
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create3
1 files changed, 3 insertions, 0 deletions
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