summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/data/opt/openslx/scripts
diff options
context:
space:
mode:
authorSimon Rettberg2015-12-10 17:45:09 +0100
committerSimon Rettberg2015-12-10 17:45:09 +0100
commit9eaa002b3fb8de55d4b2a46a82b28a4993fd3863 (patch)
tree2a9f4eb3a00c850611c5af4d06ba0bfb03b6a557 /remote/modules/run-virt/data/opt/openslx/scripts
parent[hardware-stats] Fix fdisk grep expression for id44 partiton (diff)
downloadtm-scripts-9eaa002b3fb8de55d4b2a46a82b28a4993fd3863.tar.gz
tm-scripts-9eaa002b3fb8de55d4b2a46a82b28a4993fd3863.tar.xz
tm-scripts-9eaa002b3fb8de55d4b2a46a82b28a4993fd3863.zip
[run-virt/vmware] Add windows 10
Diffstat (limited to 'remote/modules/run-virt/data/opt/openslx/scripts')
-rw-r--r--remote/modules/run-virt/data/opt/openslx/scripts/includes/vmchooser_runvirt_functions.inc4
1 files changed, 2 insertions, 2 deletions
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
}