diff options
-rwxr-xr-x | kvmx | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -115,8 +115,12 @@ function kvmx_up { kvmx_spice fi - echo "Waiting for machine to boot..." - sleep 5 + echo -n "Waiting for machine to boot..." + while true; do + echo true | $SSH_COMMAND -o ConnectTimeout=2 -p $SSH $SSH_LOGIN@127.0.0.1 &> /dev/null && break + echo -n "." + done + echo " done." # Somehow it is starting before DBUS and then crashing, so we try to start again echo "Ensure spice-vdagent is running..." |