aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlexander Clouter <[email protected]>2020-09-20 10:14:24 +0100
committerAlexander Clouter <[email protected]>2020-09-20 11:45:08 +0100
commitbb7de1bfea259e37b08d92014a4e948cb260dfad (patch)
tree27b8e6fd778b4ed6bda681142be152beacae7a22 /Dockerfile
parentremove need for privileged (diff)
downloaddocker-osx-bb7de1bfea259e37b08d92014a4e948cb260dfad.tar.xz
docker-osx-bb7de1bfea259e37b08d92014a4e948cb260dfad.zip
make audio driver configurable but defaults to alsa
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index f236ad5..82666fa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -156,7 +156,7 @@ RUN touch Launch.sh \
&& tee -a Launch.sh <<< '-drive if=pflash,format=raw,readonly,file=/home/arch/OSX-KVM/OVMF_CODE.fd \' \
&& tee -a Launch.sh <<< '-drive if=pflash,format=raw,file=./OVMF_VARS-1024x768.fd \' \
&& tee -a Launch.sh <<< '-smbios type=2 \' \
- && tee -a Launch.sh <<< '-device ich9-intel-hda -device hda-duplex \' \
+ && tee -a Launch.sh <<< '-audiodev ${AUDIO_DRIVER:-alsa},id=hda -device ich9-intel-hda -device hda-duplex,audiodev=hda \' \
&& tee -a Launch.sh <<< '-device ich9-ahci,id=sata \' \
&& tee -a Launch.sh <<< '-drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2 \' \
&& tee -a Launch.sh <<< '-device ide-hd,bus=sata.2,drive=OpenCoreBoot \' \