Browse Source

Disable audio totally

Since VirtualBox 5.1 released on 2016-07-12 the audio setting enabled
by default which can be an issue on some hardware because audio not
supported in the Fuel.

Change-Id: I19dfd0cb44d034e41e3b061f2107476907b78363
Closes-Bug: #1624303
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
Maksim Malchuk 2 years ago
parent
commit
6485241a5c
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      functions/vm.sh

+ 3
- 0
functions/vm.sh View File

@@ -100,6 +100,9 @@ create_vm() {
100 100
     # Set video memory to 16MB, so VirtualBox does not complain about "non-optimal" settings in the UI
101 101
     execute VBoxManage modifyvm $name --rtcuseutc on --memory $memory_mb --cpus $cpu_cores --vram 16
102 102
 
103
+    # Disable audio totally because not supported in the Fuel
104
+    execute VBoxManage modifyvm $name --audio "none"
105
+
103 106
     # Configure main network interface for management/PXE network
104 107
     add_hostonly_adapter_to_vm $name 1 "${nic}"
105 108
     execute VBoxManage modifyvm $name --boot1 disk --boot2 dvd --boot3 net --boot4 none

Loading…
Cancel
Save