Option to update the config without flashing the image again
This commit is contained in:
@@ -239,6 +239,7 @@ log "Expected config partition after flash: $TARGET_CONFIG_PART"
|
||||
log "Target disk info:"
|
||||
diskutil info "$TARGET_DISK" || die "Unable to inspect target disk"
|
||||
|
||||
if ! [ "$1" == "config" ]; then
|
||||
echo
|
||||
printf "Type 'YES' to continue: "
|
||||
read -r CONFIRM
|
||||
@@ -266,6 +267,7 @@ fi
|
||||
|
||||
log "Disk layout after flashing:"
|
||||
diskutil list "$TARGET_DISK" || warn "Could not list flashed disk yet"
|
||||
fi
|
||||
|
||||
ENV_FILES="$(find "$SEARCH_DIR" -maxdepth 1 -type f -name '*.env' | sort || true)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user