From e74724c998e14f36e8daf5dad060f35253dd3f52 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 26 Aug 2024 17:02:39 -0500 Subject: [PATCH] run options --- run.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/run.sh b/run.sh index 78e794e..6b6313f 100755 --- a/run.sh +++ b/run.sh @@ -71,6 +71,10 @@ if [[ "$CLEAN_LOGS" == "true" ]] && [[ -n "$LOG_DIR" ]]; then rm -rf ${LOG_DIR}/* fi +if [[ ! -d "${UPLOAD_DIRECTORY}" ]]; then + mkdir -p "${UPLOAD_DIRECTORY}" +fi + STORAGE_DRIVER="${STORAGE_DRIVER}" if [[ -z "${STORAGE_DRIVER}" ]]; then if [[ "true" == "`is_privileged`" ]]; then @@ -118,6 +122,8 @@ while true; do --state-file "${DEPLOYMENTS_DIR}/autoremove.state" \ --include-tags "$INCLUDE_TAGS" \ --exclude-tags "$EXCLUDE_TAGS" \ + --lrn "$LRN" \ + --min-required-payment $MIN_REQUIRED_PAYMENT \ $EXTRA_UNDEPLOY_OPTS \ $UPDATE_OPTS \ --discover @@ -141,6 +147,11 @@ while true; do --include-tags "$INCLUDE_TAGS" \ --exclude-tags "$EXCLUDE_TAGS" \ --fqdn-policy "${FQDN_POLICY:-prohibit}" \ + --lrn "$LRN" \ + --min-required-payment $MIN_REQUIRED_PAYMENT \ + --config-upload-dir "$UPLOAD_DIRECTORY" \ + --private-key-file "$OPENPGP_PRIVATE_KEY_FILE" + --private-key-passphrase "$OPENPGP_PASSPHRASE" $LOG_OPTS \ $EXTRA_DEPLOY_OPTS \ $UPDATE_OPTS \