aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-02-21 11:02:41 +0000
committersickcodes <[email protected]>2021-02-21 11:02:41 +0000
commitf608206926193a1345dad130867004c9bc6e0e2e (patch)
treeb4fe5a3744a93594ffe66662bec72e48972c5bad /Dockerfile
parentRequired KVM parameter fix. No idea how it's been absent for this long. (diff)
downloaddocker-osx-f608206926193a1345dad130867004c9bc6e0e2e.tar.xz
docker-osx-f608206926193a1345dad130867004c9bc6e0e2e.zip
Add NOPICKER=false in :latest. Add NOPICKER=true in :auto. Add networking speed docs.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 1007c73..8445ecb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -219,12 +219,15 @@ ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img
ENV NETWORKING=e1000-82545em
# ENV NETWORKING=vmxnet3
+ENV NOPICKER=false
+
VOLUME ["/tmp/.X11-unix"]
CMD case "$(file --brief /image)" in \
QEMU*) export IMAGE_PATH=/image && sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" 2>/dev/null || true;; \
directory*) export IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img;; \
esac \
+ ; [[ "${NOPICKER}" == true ]] && mv ./Launch-nopicker.sh ./Launch.sh \
; ./enable-ssh.sh && envsubst < ./Launch.sh | bash
# virt-manager mode: eta son