From 64bdaa5ae643b44733d821feb8ae349f2920c4c1 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 12 Jul 2013 19:51:21 +0200 Subject: [vmchooser] Try to refine calculation of amount of memory to assign to VM --- remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote/modules/vmplayer/data') diff --git a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include index 1178ca2f..5ac0454a 100644 --- a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include +++ b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include @@ -21,9 +21,9 @@ function clean_string () { if [ "$#" -ge 1 ]; then - echo "$@" | tr '[:upper:]' '[:lower:]' | tr -d '\t _./' + echo "$@" | tr '[A-Z]' '[a-z]' | tr -d '\t _./' else - cat - | tr '[:upper:]' '[:lower:]' | tr -d '\t _./' + cat - | tr '[A-Z]' '[a-z]' | tr -d '\t _./' fi } -- cgit v1.2.3-55-g7522