Revision e50c4112
b/snf-image-helper/common.sh | ||
---|---|---|
164 | 164 |
|
165 | 165 |
test "$PROGNAME" = "snf-image-helper" && return 0 |
166 | 166 |
|
167 |
eval local do_exclude=\$SNF_IMAGE_EXCLUDE_${PROGNAME:2}_TASK |
|
167 |
eval local do_exclude=\$SNF_IMAGE_PROPERTY_EXCLUDE_${PROGNAME:2}_TASK
|
|
168 | 168 |
if [ -n "$do_exclude" ]; then |
169 | 169 |
warn "Task $PROGNAME was excluded and will not run." |
170 | 170 |
exit 0 |
b/snf-image-helper/snf-image-helper.in | ||
---|---|---|
88 | 88 |
# in case it is left mounted... |
89 | 89 |
trap '{ umount "$target"; }' ERR |
90 | 90 |
|
91 |
if [ -z "$SNF_IMAGE_EXCLUDE_ALL_TASKS" ]; then |
|
91 |
if [ -z "$SNF_IMAGE_PROPERTY_EXCLUDE_ALL_TASKS" ]; then
|
|
92 | 92 |
# Redirect standard error to standard output, |
93 | 93 |
# prepend a timestamp before each line of output. |
94 | 94 |
echo "Execute all snf-image tasks...." |
Also available in: Unified diff