File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -eux -o pipefail
2+ set -euo pipefail
33
44usage () {
55 cat << EOC
@@ -95,7 +95,7 @@ podman images > /dev/null
9595
9696# Run through the preprocessor
9797# Note: don't quote the size arguements since they are numbers, not strings
98- osbuild-mpp \
98+ set -x ; osbuild-mpp \
9999 -D arch=\" " $( arch) " \" \
100100 -D artifact_name_prefix=\" " ${artifact_name_prefix} " \" \
101101 -D ostree_ref=\" " ${ostree_ref} " \" \
@@ -110,8 +110,10 @@ osbuild-mpp \
110110 -D cloud_image_size_mb=" ${cloud_image_size_mb} " \
111111 -D rootfs_size_mb=" ${rootfs_size_mb} " \
112112 " ${mppyaml} " " ${processed_json} "
113+ set +x
113114
114115# Build the image
116+ set -x
115117# shellcheck disable=SC2068
116118osbuild \
117119 --out " $outdir " \
@@ -124,6 +126,7 @@ osbuild \
124126 --checkpoint metal4k \
125127 ${platforms[@]/#/ --export=} \
126128 " ${processed_json} "
129+ set +x
127130
128131mv " ${outdir} " /* " ${orig_outdir} /"
129132rm -f " ${processed_json} "
You can’t perform that action at this time.
0 commit comments