|
|
|
@ -132,8 +132,8 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS
|
|
|
|
|
--output-env "${ENV:=/env}" || exit 1 \
|
|
|
|
|
; } \
|
|
|
|
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
|
|
|
|
source "${ENV:=/env}" \
|
|
|
|
|
|| ./Docker-OSX/custom/generate-specific-bootdisk.sh \
|
|
|
|
|
source "${ENV:=/env}" 2>/dev/null \
|
|
|
|
|
; ./Docker-OSX/custom/generate-specific-bootdisk.sh \
|
|
|
|
|
--master-plist-url="${MASTER_PLIST_URL}" \
|
|
|
|
|
--model "${DEVICE_MODEL}" \
|
|
|
|
|
--serial "${SERIAL}" \
|
|
|
|
@ -142,8 +142,7 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS
|
|
|
|
|
--mac-address "${MAC_ADDRESS}" \
|
|
|
|
|
--width "${WIDTH:-1920}" \
|
|
|
|
|
--height "${HEIGHT:-1080}" \
|
|
|
|
|
--output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" || exit 1 \
|
|
|
|
|
; } \
|
|
|
|
|
--output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}"
|
|
|
|
|
; case "$(file --brief /bootdisk)" in \
|
|
|
|
|
QEMU\ QCOW2\ Image* ) export BOOTDISK=/bootdisk \
|
|
|
|
|
;; \
|
|
|
|
|