summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/vmchooser/files/run-virt.sh
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-07-21 16:03:35 +0200
committerSebastian Schmelzer2011-07-21 16:03:35 +0200
commit67d156eae5534840fb0e0f918570878a5ce18724 (patch)
tree77607ec979bb31d65aed607ebefe4952f97ab6f8 /src/os-plugins/plugins/vmchooser/files/run-virt.sh
parentMerge branch 'master' of openslx.org:openslx/core (diff)
downloadcore-67d156eae5534840fb0e0f918570878a5ce18724.tar.gz
core-67d156eae5534840fb0e0f918570878a5ce18724.tar.xz
core-67d156eae5534840fb0e0f918570878a5ce18724.zip
dynamic mac for vmchooser // fix awk, tr error in runvirt
Diffstat (limited to 'src/os-plugins/plugins/vmchooser/files/run-virt.sh')
-rw-r--r--src/os-plugins/plugins/vmchooser/files/run-virt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os-plugins/plugins/vmchooser/files/run-virt.sh b/src/os-plugins/plugins/vmchooser/files/run-virt.sh
index d62a13ae..e89affeb 100644
--- a/src/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/src/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -344,7 +344,7 @@ yres=$(echo "${hostres}" | awk '{print $7}')
# Resolution defined via xml parameter: fullscreen, full/X*Y/depth; windowed,
# win/X*Y/depth
-userres=$(grep -io '<screen param=.*"' ${xmlfile} | awk -F '"' '{ print $2 }' \
+userres=$(grep -io '<screen param=.*"' ${xmlfile} | awk -F '"' '{ print $2 }' | \
tr "A-Z" "a-z")
case "${userres}" in
full*)