aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2020-10-06 17:12:45 +0000
committersickcodes <[email protected]>2020-10-06 17:12:45 +0000
commit81682df5febf936cbadd889b8ec46c73b8d1466e (patch)
tree90539aff9cfc293f42780a29dbfaccc77acbfff5 /Dockerfile
parentDocumentation tidy (diff)
downloaddocker-osx-81682df5febf936cbadd889b8ec46c73b8d1466e.tar.xz
docker-osx-81682df5febf936cbadd889b8ec46c73b8d1466e.zip
[QOL] Launch without having to press anything at the boot menu (see readme)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 17954eb..6ffcb31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -176,6 +176,11 @@ RUN touch Launch.sh \
&& tee -a Launch.sh <<< '-vga vmware \' \
&& tee -a Launch.sh <<< '${EXTRA:-}'
+# docker exec containerid mv ./Launch-nopicker.sh ./Launch.sh
+RUN grep -v InstallMedia ./Launch.sh > ./Launch-nopicker.sh \
+ && chmod +x ./Launch-nopicker.sh \
+ && sed -i -e s/OpenCore\.qcow2/OpenCore\-nopicker\.qcow2/ ./Launch-nopicker.sh
+
ENV USER arch
ENV DISPLAY=:0.0
@@ -191,4 +196,3 @@ CMD ./enable-ssh.sh && envsubst < ./Launch.sh | bash
# virt-manager mode: eta son
# CMD virsh define <(envsubst < Docker-OSX.xml) && virt-manager || virt-manager
# CMD virsh define <(envsubst < macOS-libvirt-Catalina.xml) && virt-manager || virt-manager
-