diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-08 09:28:10 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-08 09:28:10 -0300 |
commit | 1c5aad46f435c6ce7e2cc5ebe24ae202506ac706 (patch) | |
tree | f679f662cd366206bd514a2172e55c5e6a9df836 | |
parent | 4fee4766a68532bf4d07bd898e3c09ca6f233640 (diff) | |
download | kvmx-1c5aad46f435c6ce7e2cc5ebe24ae202506ac706.tar.gz kvmx-1c5aad46f435c6ce7e2cc5ebe24ae202506ac706.tar.bz2 |
Adds missing run_xrpa evaluation
-rwxr-xr-x | kvmx | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -315,6 +315,10 @@ function kvmx_up { kvmx_spice fi + if [ "$run_xpra" == "1" ]; then + $DIRNAME/$BASENAME xpra $VM + fi + if [ "$ssh_support" == "y" ]; then let ssh_attempts="0" echo -n "Waiting for machine to boot..." @@ -497,6 +501,10 @@ function kvmx_poweroff { exit 1 fi + if [ "$run_xpra" == "1" ]; then + $DIRNAME/$BASENAME xpra $VM stop + fi + echo /usr/bin/sudo poweroff | kvmx_ssh &> /dev/null sleep 3 kvmx_status |