|
|
@ -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 \
|
|
|
|
--output-env "${ENV:=/env}" || exit 1 \
|
|
|
|
; } \
|
|
|
|
; } \
|
|
|
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
|
|
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
|
|
|
source "${ENV:=/env}" \
|
|
|
|
source "${ENV:=/env}" 2>/dev/null \
|
|
|
|
|| ./Docker-OSX/custom/generate-specific-bootdisk.sh \
|
|
|
|
; ./Docker-OSX/custom/generate-specific-bootdisk.sh \
|
|
|
|
--master-plist-url="${MASTER_PLIST_URL}" \
|
|
|
|
--master-plist-url="${MASTER_PLIST_URL}" \
|
|
|
|
--model "${DEVICE_MODEL}" \
|
|
|
|
--model "${DEVICE_MODEL}" \
|
|
|
|
--serial "${SERIAL}" \
|
|
|
|
--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}" \
|
|
|
|
--mac-address "${MAC_ADDRESS}" \
|
|
|
|
--width "${WIDTH:-1920}" \
|
|
|
|
--width "${WIDTH:-1920}" \
|
|
|
|
--height "${HEIGHT:-1080}" \
|
|
|
|
--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 \
|
|
|
|
; case "$(file --brief /bootdisk)" in \
|
|
|
|
QEMU\ QCOW2\ Image* ) export BOOTDISK=/bootdisk \
|
|
|
|
QEMU\ QCOW2\ Image* ) export BOOTDISK=/bootdisk \
|
|
|
|
;; \
|
|
|
|
;; \
|
|
|
|