This repository was archived by the owner on Oct 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ touch .make-vmware
88source ./scripts/version
99./scripts/release
1010
11- ROOT_FS_NAME=" rootfs.tar.gz"
12- VMDK_NAME=" rancheros.vmdk"
13-
1411if [ " $VMWARE_AUTOFORMAT " = 1 ]; then
1512 ISO_NAME=" rancheros-autoformat.iso"
1613 mkdir -p /tmp/dist && mv ./dist/* /tmp/dist/
@@ -19,10 +16,12 @@ if [ "$VMWARE_AUTOFORMAT" = 1 ]; then
1916 echo " gsutil cp dist/artifacts/${ISO_NAME} gs://releases.rancher.com/os/latest/vmware/${ISO_NAME} "
2017 echo " gsutil cp dist/artifacts/${ISO_NAME} gs://releases.rancher.com/os/${VERSION} /vmware/${ISO_NAME} "
2118 exit 0
22- else
23- ISO_NAME=" rancheros.iso"
2419fi
2520
21+ ROOT_FS_NAME=" rootfs.tar.gz"
22+ VMDK_NAME=" rancheros.vmdk"
23+ ISO_NAME=" rancheros.iso"
24+
2625if [ " $VMWARE_APPEND " != " " ]; then
2726 echo " --append ${VMWARE_APPEND} "
2827 APPEND_PARAM=" --append \" ${VMWARE_APPEND} \" "
@@ -97,6 +96,6 @@ for file in $(ls dist/artifacts/); do
9796 echo " gsutil cp dist/artifacts/${ROOT_FS_NAME} gs://releases.rancher.com/os/${VERSION} /vmware/${ROOT_FS_NAME} " >> ./dist/publish_gss_${VERSION} .sh
9897 ;;
9998 esac
100- done
99+ done
101100
102101chmod 755 ./dist/* .sh
You can’t perform that action at this time.
0 commit comments