run options
This commit is contained in:
parent
e578605777
commit
e74724c998
11
run.sh
11
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user