File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ build_azl3_immutable_raw_image() {
263263 exit 1
264264 fi
265265
266- output=$( sudo -S ./build/os-image-composer build image-templates/azl3-x86_64-edge-raw.yml 2>&1 )
266+ output=$( sudo -S ./build/os-image-composer build -v image-templates/azl3-x86_64-edge-raw.yml 2>&1 )
267267 # Check for the success message in the output
268268 if echo " $output " | grep -q " image build completed successfully" ; then
269269 echo " AZL3 immutable raw Image build passed."
@@ -280,6 +280,7 @@ build_azl3_immutable_raw_image() {
280280 fi
281281 else
282282 echo " AZL3 immutable raw Image build failed."
283+ cat os-image-composer.log
283284 exit 1 # Exit with error if build fails
284285 fi
285286}
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ build_azl3_iso_image() {
137137 echo " Ensuring we're in the working directory before starting builds..."
138138 cd " $WORKING_DIR "
139139 echo " Current working directory: $( pwd) "
140- output=$( sudo -S ./build/os-image-composer build image-templates/azl3-x86_64-minimal-iso.yml 2>&1 )
140+ output=$( sudo -S ./build/os-image-composer build -v image-templates/azl3-x86_64-minimal-iso.yml 2>&1 )
141141 # Check for the success message in the output
142142 if echo " $output " | grep -q " image build completed successfully" ; then
143143 echo " AZL3 iso Image build passed."
@@ -152,6 +152,7 @@ build_azl3_iso_image() {
152152 fi
153153 else
154154 echo " AZL3 iso Image build failed."
155+ cat os-image-composer.log
155156 exit 1 # Exit with error if build fails
156157 fi
157158}
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ build_azl3_raw_image() {
232232 cd " $WORKING_DIR "
233233 echo " Current working directory: $( pwd) "
234234
235- output=$( sudo -S ./os-image-composer build image-templates/azl3-x86_64-minimal-raw.yml 2>&1 )
235+ output=$( sudo -S ./os-image-composer build -v image-templates/azl3-x86_64-minimal-raw.yml 2>&1 )
236236 # Check for the success message in the output
237237 if echo " $output " | grep -q " image build completed successfully" ; then
238238 echo " AZL3 raw Image build passed."
@@ -249,6 +249,7 @@ build_azl3_raw_image() {
249249 fi
250250 else
251251 echo " AZL3 raw Image build failed."
252+ cat os-image-composer.log
252253 exit 1 # Exit with error if build fails
253254 fi
254255}
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ build_elxr12_immutable_raw_image() {
263263 exit 1
264264 fi
265265
266- output=$( sudo -S ./build/os-image-composer build image-templates/elxr12-x86_64-edge-raw.yml 2>&1 )
266+ output=$( sudo -S ./build/os-image-composer build -v image-templates/elxr12-x86_64-edge-raw.yml 2>&1 )
267267 # Check for the success message in the output
268268 if echo " $output " | grep -q " image build completed successfully" ; then
269269 echo " ELXR12 immutable raw Image build passed."
@@ -280,6 +280,7 @@ build_elxr12_immutable_raw_image() {
280280 fi
281281 else
282282 echo " ELXR12 immutable raw Image build failed."
283+ cat os-image-composer.log
283284 exit 1 # Exit with error if build fails
284285 fi
285286}
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ build_elxr12_iso_image() {
137137 echo " Ensuring we're in the working directory before starting builds..."
138138 cd " $WORKING_DIR "
139139 echo " Current working directory: $( pwd) "
140- output=$( sudo -S ./build/os-image-composer build image-templates/elxr12-x86_64-minimal-iso.yml 2>&1 )
140+ output=$( sudo -S ./build/os-image-composer build -v image-templates/elxr12-x86_64-minimal-iso.yml 2>&1 )
141141 # Check for the success message in the output
142142 if echo " $output " | grep -q " image build completed successfully" ; then
143143 echo " ELXR12 iso Image build passed."
@@ -152,6 +152,7 @@ build_elxr12_iso_image() {
152152 fi
153153 else
154154 echo " ELXR12 iso Image build failed."
155+ cat os-image-composer.log
155156 exit 1 # Exit with error if build fails
156157 fi
157158}
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ build_elxr12_raw_image() {
263263 exit 1
264264 fi
265265
266- output=$( sudo -S ./os-image-composer build image-templates/elxr12-x86_64-minimal-raw.yml 2>&1 )
266+ output=$( sudo -S ./os-image-composer build -v image-templates/elxr12-x86_64-minimal-raw.yml 2>&1 )
267267 # Check for the success message in the output
268268 if echo " $output " | grep -q " image build completed successfully" ; then
269269 echo " ELXR12 raw Image build passed."
@@ -280,6 +280,7 @@ build_elxr12_raw_image() {
280280 fi
281281 else
282282 echo " ELXR12 raw Image build failed."
283+ cat os-image-composer.log
283284 exit 1 # Exit with error if build fails
284285 fi
285286}
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ build_emt3_immutable_raw_image() {
263263 exit 1
264264 fi
265265
266- output=$( sudo -S ./build/os-image-composer build image-templates/emt3-x86_64-edge-raw.yml 2>&1 )
266+ output=$( sudo -S ./build/os-image-composer build -v image-templates/emt3-x86_64-edge-raw.yml 2>&1 )
267267 # Check for the success message in the output
268268 if echo " $output " | grep -q " image build completed successfully" ; then
269269 echo " EMT3 immutable raw Image build passed."
@@ -280,6 +280,7 @@ build_emt3_immutable_raw_image() {
280280 fi
281281 else
282282 echo " EMT3 immutable raw Image build failed."
283+ cat os-image-composer.log
283284 exit 1 # Exit with error if build fails
284285 fi
285286}
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ build_emt3_iso_image() {
137137 echo " Ensuring we're in the working directory before starting builds..."
138138 cd " $WORKING_DIR "
139139 echo " Current working directory: $( pwd) "
140- output=$( sudo -S ./build/os-image-composer build image-templates/emt3-x86_64-minimal-iso.yml 2>&1 )
140+ output=$( sudo -S ./build/os-image-composer build -v image-templates/emt3-x86_64-minimal-iso.yml 2>&1 )
141141 # Check for the success message in the output
142142 if echo " $output " | grep -q " image build completed successfully" ; then
143143 echo " EMT3 iso Image build passed."
@@ -152,6 +152,7 @@ build_emt3_iso_image() {
152152 fi
153153 else
154154 echo " EMT3 iso Image build failed."
155+ cat os-image-composer.log
155156 exit 1 # Exit with error if build fails
156157 fi
157158}
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ build_emt3_raw_image() {
232232 cd " $WORKING_DIR "
233233 echo " Current working directory: $( pwd) "
234234
235- output=$( sudo -S ./os-image-composer build image-templates/emt3-x86_64-minimal-raw.yml 2>&1 )
235+ output=$( sudo -S ./os-image-composer build -v image-templates/emt3-x86_64-minimal-raw.yml 2>&1 )
236236 # Check for the success message in the output
237237 if echo " $output " | grep -q " image build completed successfully" ; then
238238 echo " EMT3 raw Image build passed."
@@ -249,6 +249,7 @@ build_emt3_raw_image() {
249249 fi
250250 else
251251 echo " EMT3 raw Image build failed."
252+ cat os-image-composer.log
252253 exit 1 # Exit with error if build fails
253254 fi
254255}
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ build_ubuntu24_immutable_raw_image() {
263263 exit 1
264264 fi
265265
266- output=$( sudo -S ./build/os-image-composer build image-templates/ubuntu24-x86_64-edge-raw.yml 2>&1 )
266+ output=$( sudo -S ./build/os-image-composer build -v image-templates/ubuntu24-x86_64-edge-raw.yml 2>&1 )
267267 # Check for the success message in the output
268268 if echo " $output " | grep -q " image build completed successfully" ; then
269269 echo " Ubuntu 24 immutable raw Image build passed."
@@ -280,6 +280,7 @@ build_ubuntu24_immutable_raw_image() {
280280 fi
281281 else
282282 echo " Ubuntu 24 immutable raw Image build failed."
283+ cat os-image-composer.log
283284 exit 1 # Exit with error if build fails
284285 fi
285286}
You can’t perform that action at this time.
0 commit comments