diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-22 11:42:04 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-22 11:42:04 -0300 |
commit | 0fd4a6721d066a9adbc16009b7b787553074418e (patch) | |
tree | 52cd7201f82baae9bafb2feba7fed420050d9116 /kvmx | |
parent | e42b295ef928e79cf17fcc39429ded27ea19a84a (diff) | |
download | kvmx-0fd4a6721d066a9adbc16009b7b787553074418e.tar.gz kvmx-0fd4a6721d066a9adbc16009b7b787553074418e.tar.bz2 |
Fix: ssh pubkey file name evaluation
Diffstat (limited to 'kvmx')
-rwxr-xr-x | kvmx | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -152,7 +152,7 @@ function __kvmx_initialize { # hostname and no image param is set (kvmx-create puts image in one # place, kvmx expects in the other). So we try to guess first the image by hostname # and then by guest name. Note that it might be possible to have conflicts if there - # are machines with hostnames set to the name os other machines. But here we hope that + # are machines with hostnames set to the name of other machines. But here we hope that # the user is not messing that much ;) if [ ! -z "$hostname" ] && [ -e "$image_base/$hostname/box.img" ]; then image="$image_base/$hostname/box.img" @@ -1274,6 +1274,7 @@ function kvmx_init { if [ ! -e "$FOLDER/kvmxfile" ]; then cp $APP_BASE/kvmxfile $FOLDER/ sed -i -e "s|hostname=\"machine\"|hostname=\"$VM\"|g" $FOLDER/kvmxfile + sed -i -e "s|hostname=\"kvmx\"|hostname=\"$VM\"|g" $FOLDER/kvmxfile fi # Create config entry |