From: Silvio Rhatto Date: Sun, 31 Dec 2017 15:53:14 +0000 (-0200) Subject: Powering off guest instead of stopping when all ssh_attemps were made X-Git-Tag: 0.1.0~292 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=559d38de251d531898ed484d9d3fb59e906e4b3a;p=kvmx.git Powering off guest instead of stopping when all ssh_attemps were made --- diff --git a/kvmx b/kvmx index 3db4844..e4887e0 100755 --- a/kvmx +++ b/kvmx @@ -456,7 +456,8 @@ function kvmx_up { if [ "$ssh_attempts" == "20" ]; then echo "$BASENAME: timeout or access denied when trying to SSH into $VM." echo "$BASENAME: please check if the image is in a good state and if it accepts passwordless ssh connections" - kvmx_stop + #kvmx_stop + kvmx_poweroff exit 1 fi