diff options
author | Dirk | 2011-07-19 14:57:28 +0200 |
---|---|---|
committer | Dirk | 2011-07-19 14:57:28 +0200 |
commit | 06edfae88fd8e118aff7b7f80fc2063eab867eb1 (patch) | |
tree | 9165f1cde9f1d1a9f048f2377847d27d112591ac /src/os-plugins/plugins/vmchooser/files/run-virt.sh | |
parent | Avoid annoying error message ... (diff) | |
download | core-06edfae88fd8e118aff7b7f80fc2063eab867eb1.tar.gz core-06edfae88fd8e118aff7b7f80fc2063eab867eb1.tar.xz core-06edfae88fd8e118aff7b7f80fc2063eab867eb1.zip |
Some more changes for emu/virt plugins ...
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} \ |