We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6c1ca1 commit d09acc4Copy full SHA for d09acc4
tools/appliance/build.sh
@@ -497,7 +497,8 @@ function hyperv_export() {
497
# HyperV doesn't support import a zipped image from S3,
498
# but we create a zipped version to save space on the jenkins box
499
zip "${appliance_build_name}-hyperv.vhd.zip" "${appliance_build_name}-hyperv.vhd"
500
- mv "${appliance_build_name}-hyperv.vhd.zip" "${appliance_build_name}-hyperv.vhd" dist/
+ add_on_exit rm "${appliance_build_name}-hyperv.vhd"
501
+ mv "${appliance_build_name}-hyperv.vhd.zip" dist/
502
log INFO "${appliance} exported for HyperV: dist/${appliance_build_name}-hyperv.vhd.zip"
503
}
504
0 commit comments