aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-03-06 17:59:03 +0000
committersickcodes <[email protected]>2021-03-06 17:59:03 +0000
commit7d6e5b30d872a3e8fdc65099ed691dadabc46220 (patch)
tree654c263bc28d730c5cb9e0290bba9cbde6103fad /Dockerfile
parentFix bootdisk not getting written to persistent file when using NOPICKER=true.... (diff)
downloaddocker-osx-7d6e5b30d872a3e8fdc65099ed691dadabc46220.tar.xz
docker-osx-7d6e5b30d872a3e8fdc65099ed691dadabc46220.zip
Remove useless case statements. Allow -e HEADLESS=true as human readable alternative to -e DISPLAY=:99.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 0 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile
index 552f449..099fa61 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -298,12 +298,6 @@ VOLUME ["/tmp/.X11-unix"]
# And the default serial numbers
CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/null || true \
- ; case "$(file --brief /image)" in \
- QEMU\ QCOW2\ Image* ) export IMAGE_PATH=/image \
- ;; \
- directory* ) export IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img \
- ;; \
- esac \
; [[ "${NOPICKER}" == true ]] && { \
sed -i '/^.*InstallMedia.*/d' Launch.sh \
&& export BOOTDISK="${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2}" \
@@ -332,12 +326,6 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS
--height "${HEIGHT:-1080}" \
--output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \
; } \
- ; case "$(file --brief /bootdisk)" in \
- QEMU\ QCOW2\ Image* ) export BOOTDISK=/bootdisk \
- ;; \
- directory* ) export BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2 \
- ;; \
- esac \
; ./enable-ssh.sh && envsubst < ./Launch.sh | bash
# virt-manager mode: eta son