|
|
@ -316,7 +316,7 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS
|
|
|
|
--width "${WIDTH:-1920}" \
|
|
|
|
--width "${WIDTH:-1920}" \
|
|
|
|
--height "${HEIGHT:-1080}" \
|
|
|
|
--height "${HEIGHT:-1080}" \
|
|
|
|
--output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \
|
|
|
|
--output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \
|
|
|
|
--output-env "${ENV:=/env}" || exit 1 \
|
|
|
|
--output-env "${ENV:=/env}" \
|
|
|
|
; } \
|
|
|
|
; } \
|
|
|
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
|
|
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
|
|
|
source "${ENV:=/env}" 2>/dev/null \
|
|
|
|
source "${ENV:=/env}" 2>/dev/null \
|
|
|
@ -329,7 +329,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 \
|
|
|
|