summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt
diff options
context:
space:
mode:
authorSimon Rettberg2016-02-24 11:53:16 +0100
committerSimon Rettberg2016-02-24 11:53:16 +0100
commitc09edd06d2db7a787c0c35b879b6bc1eeea424d5 (patch)
treeb416e72a6ae6155cf1ec3b8d372d95f7ef75b619 /remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt
parentMerge branch 'master' of git://git.openslx.org/openslx-ng/tm-scripts (diff)
downloadtm-scripts-c09edd06d2db7a787c0c35b879b6bc1eeea424d5.tar.gz
tm-scripts-c09edd06d2db7a787c0c35b879b6bc1eeea424d5.tar.xz
tm-scripts-c09edd06d2db7a787c0c35b879b6bc1eeea424d5.zip
[run-virt/vmware] Scan for usb devices that we should pass through before starting vm
Diffstat (limited to 'remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt')
-rwxr-xr-xremote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt b/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt
index 8e1bbd0d..1e591389 100755
--- a/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt
+++ b/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt
@@ -28,6 +28,8 @@ source ${RUNVIRTINCLUDEDIR}/vmchooser_runvirt_functions.inc && trap 'trap "" SIG
source ${RUNVIRTINCLUDEDIR}/set_runvirt_variables.inc
# Function to detect whether we can use the new way (vmx via http) or the old way (legacy):
source ${RUNVIRTINCLUDEDIR}/detect_legacy.inc # This yields LEGACY, IMGUUID, IMGVMX
+# For scanning for certain usb classes
+source "${RUNVIRTINCLUDEDIR}/usb_detector.inc"
if [ "$LEGACY" ]; then
# check for important files used (filecheck()) - vestigial?