summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2015-03-04 17:49:50 +0100
committerSimon Rettberg2015-03-04 17:49:50 +0100
commit33c73721dca9520e6cf0fd1fcb739718e38b473b (patch)
tree43b1c09bf3be2c5c2e8a38211f55f9f9b7497ea5
parent[vm*] Only explicitly set sound card if there's more than one in the host system (diff)
downloadtm-scripts-33c73721dca9520e6cf0fd1fcb739718e38b473b.tar.gz
tm-scripts-33c73721dca9520e6cf0fd1fcb739718e38b473b.tar.xz
tm-scripts-33c73721dca9520e6cf0fd1fcb739718e38b473b.zip
Fix last commit
-rw-r--r--remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
index 47c96ec1..471a207c 100644
--- a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
+++ b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include
@@ -267,7 +267,6 @@ runvmwareconfheader ()
# sound
sound.present = "TRUE"
$sound_fileName
- sound.autodetect = "FALSE"
sound.virtualdev = "$sound"
pciSound.enableVolumeControl = "FALSE"
sound.enableVolumeControl = "FALSE"
@@ -471,7 +470,8 @@ sound="es1371"
# set sound card explicitly if there is more than one card in the host system
if [ -n "$SOUND_CARD_INDEX" -a -n "$SOUND_CARD_COUNT" ] && [ "$SOUND_CARD_COUNT" -gt 1 ]; then
- sound_fileName="sound.fileName = \"sysdefault:CARD=${SOUND_CARD_INDEX}\""
+ sound_fileName="sound.fileName = \"sysdefault:CARD=${SOUND_CARD_INDEX}\"
+sound.autodetect = \"FALSE\""
else
sound_fileName='sound.fileName = "-1"
sound.autodetect = "TRUE"'