From 9eaa002b3fb8de55d4b2a46a82b28a4993fd3863 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 10 Dec 2015 17:45:09 +0100 Subject: [run-virt/vmware] Add windows 10 --- .../data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote/modules/run-virt/data/opt/openslx/scripts/includes') diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc b/remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc index 267d89e4..f20b799f 100644 --- a/remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc +++ b/remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc @@ -39,8 +39,8 @@ cleanexit() { rv_clean_string() { if [ "$#" -ge 1 ]; then - echo "$@" | tr '[A-Z]' '[a-z]' | tr -d -c '[a-z0-9]' + echo "$@" | tr '[A-Z]' '[a-z]' | tr -d -c '[a-z0-9\-]' else - tr '[A-Z]' '[a-z]' | tr -d -c '[a-z0-9]' + tr '[A-Z]' '[a-z]' | tr -d -c '[a-z0-9\-]' fi } -- cgit v1.2.3-55-g7522