diff options
| author | Alexander Clouter <[email protected]> | 2020-09-20 10:14:24 +0100 |
|---|---|---|
| committer | Alexander Clouter <[email protected]> | 2020-09-20 11:45:08 +0100 |
| commit | bb7de1bfea259e37b08d92014a4e948cb260dfad (patch) | |
| tree | 27b8e6fd778b4ed6bda681142be152beacae7a22 | |
| parent | remove need for privileged (diff) | |
| download | docker-osx-bb7de1bfea259e37b08d92014a4e948cb260dfad.tar.xz docker-osx-bb7de1bfea259e37b08d92014a4e948cb260dfad.zip | |
make audio driver configurable but defaults to alsa
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \' \ |