aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.auto
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-02-26 09:25:40 +0000
committersickcodes <[email protected]>2021-02-26 09:25:40 +0000
commit91131a6bbbe92615852e14e4b8e427ebe743f3a5 (patch)
tree44e585e3756fb9bc799266036a208dc5b3604dfc /Dockerfile.auto
parentFix /env permissions for persistence after GENERATE_UNIQUE. Fix the following... (diff)
downloaddocker-osx-91131a6bbbe92615852e14e4b8e427ebe743f3a5.tar.xz
docker-osx-91131a6bbbe92615852e14e4b8e427ebe743f3a5.zip
Add exists exits and required serial number files for building disk
Diffstat (limited to 'Dockerfile.auto')
-rw-r--r--Dockerfile.auto4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile.auto b/Dockerfile.auto
index 15f6339..6f6b739 100644
--- a/Dockerfile.auto
+++ b/Dockerfile.auto
@@ -153,7 +153,7 @@ CMD echo "${BOILERPLATE}" \
--tsv ./serial.tsv \
--bootdisks \
--output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \
- --output-env "${ENV:=/env}" \
+ --output-env "${ENV:=/env}" || exit 1 \
; } \
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
source "${ENV:=/env}" \
@@ -163,7 +163,7 @@ CMD echo "${BOILERPLATE}" \
--board-serial "${BOARD_SERIAL}" \
--uuid "${UUID}" \
--mac-address "${MAC_ADDRESS}" \
- --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \
+ --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" || exit 1 \
; } \
; case "$(file --brief /bootdisk)" in \
QEMU\ QCOW2\ Image* ) export BOOTDISK=/bootdisk \