diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-04 09:30:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-04 09:30:33 -0300 |
commit | cff0c11f980dab01439d2ae80ac0bb0856fed64c (patch) | |
tree | bcf8a0cec7e44e0e18ede682f01464833558e4e1 | |
parent | f104f8018b50ff0b4f1fd7de7c79a4f74e3574dc (diff) | |
download | kvmx-cff0c11f980dab01439d2ae80ac0bb0856fed64c.tar.gz kvmx-cff0c11f980dab01439d2ae80ac0bb0856fed64c.tar.bz2 |
Adds run_xpra config
-rwxr-xr-x | kvmx | 4 | ||||
-rw-r--r-- | kvmxfile | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -212,6 +212,10 @@ function kvmx_up { $DIRNAME/$BASENAME spice $VM fi + if [ "$run_xpra" == "1" ]; then + $DIRNAME/$BASENAME xpra $VM + fi + exit elif kvmx_running; then echo "$BASENAME: guest $VM is already running" @@ -36,6 +36,9 @@ vnc_client="virt-viewer" # boots. run_spice_client="1" +# Set this if you want to automatically a xpra session when the machine boots. +run_xpra="0" + # Set additional hostfwd mappings #port_mapping="hostfwd=tcp:127.0.0.1:8080-:80,hostfwd=tcp:127.0.0.1:8443-:443" |