Set defaults in obvious places

This commit is contained in:
sickcodes
2021-02-25 18:16:24 +00:00
parent 284fe9fbde
commit c5aab3020d
3 changed files with 17 additions and 5 deletions

View File

@@ -101,12 +101,16 @@ RUN mkdir -p ~/.ssh \
&& tee -a ~/.ssh/config <<< ' StrictHostKeyChecking no' \
&& tee -a ~/.ssh/config <<< ' UserKnownHostsFile=/dev/null'
ENV NOPICKER=true
ENV BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2
ENV DISPLAY=:99
ENV ENV=/env
ENV IMAGE_PATH=/image
ENV NOPICKER=true
CMD sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" "${BOOTDISK}" 2>/dev/null || true \
; [[ "${DISPLAY}" = ':99' ]] && { \
nohup Xvfb :99 -screen 0 1920x1080x16 \