diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 13:53:14 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-31 13:53:14 -0200 |
commit | 559d38de251d531898ed484d9d3fb59e906e4b3a (patch) | |
tree | 2d1722ab2086e20cb8d0fd337c310e48be838ee2 | |
parent | 41176f764cf5d1c3140a9fdf21de7cfa41c6d99c (diff) | |
download | kvmx-559d38de251d531898ed484d9d3fb59e906e4b3a.tar.gz kvmx-559d38de251d531898ed484d9d3fb59e906e4b3a.tar.bz2 |
Powering off guest instead of stopping when all ssh_attemps were made
-rwxr-xr-x | kvmx | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |