mirror of
https://github.com/rancher/os.git
synced 2025-07-15 23:55:51 +00:00
Fix vmware build scripts for autoformat iso
This commit is contained in:
parent
de73e0551c
commit
ee5607548b
@ -13,6 +13,9 @@ VMDK_NAME="rancheros.vmdk"
|
||||
|
||||
if [ "$VMWARE_AUTOFORMAT" = 1 ]; then
|
||||
ISO_NAME="rancheros-autoformat.iso"
|
||||
mkdir -p /tmp/dist && mv ./dist/* /tmp/dist/
|
||||
mkdir -p ./dist/vmware && mv /tmp/dist/* ./dist/vmware/
|
||||
mkdir -p ./dist/artifacts && cp ./dist/vmware/artifacts/rancheros.iso ./dist/artifacts/${ISO_NAME}
|
||||
echo "gsutil cp dist/artifacts/${ISO_NAME} gs://releases.rancher.com/os/latest/vmware/${ISO_NAME}"
|
||||
echo "gsutil cp dist/artifacts/${ISO_NAME} gs://releases.rancher.com/os/${VERSION}/vmware/${ISO_NAME}"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user