diff options
Diffstat (limited to 'src/os-plugins/plugins/vmchooser/files/run-virt.sh')
-rw-r--r-- | src/os-plugins/plugins/vmchooser/files/run-virt.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/os-plugins/plugins/vmchooser/files/run-virt.sh b/src/os-plugins/plugins/vmchooser/files/run-virt.sh index f796271d..3af50550 100644 --- a/src/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/src/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -20,6 +20,8 @@ . /etc/opt/openslx/openslx.conf +set -x + ################################################################################ ### Define default dirs / get configs ################################################################################ @@ -248,15 +250,15 @@ elif [ -z "${xmlvirt}" ]; then xmlvirt="qemukvm" ;; *) - xmlvirt="emulator" + xmlvirt="emufe" ;; esac writelog "result:\t${xmlvirt}" fi # Definition of the client system -vmostype=$(grep -io '<os param=.*"' ${xmlfile} | awk -F '"' '{ print $2 }' \ - | tr "[A-Z]" "[a-z]") +vmostype=$(grep -io '<os param=.*"' ${xmlfile} | awk -F '"' '{ print $2 }' |\ + tr "[A-Z]" "[a-z]") # Definition of the networking the client system is connected to network_kind=$(grep -io '<network param=.*"' ${xmlfile} \ |