oem/azure: add pre-publish blob copy

This commit is contained in:
Alex Crawford 2015-03-30 11:27:07 -07:00
parent f04e213c2c
commit e9566a5749

View File

@ -50,6 +50,13 @@ azure storage blob upload \
--blob="coreos-${VERSION}-${LGROUP}.vhd" \ --blob="coreos-${VERSION}-${LGROUP}.vhd" \
--blobtype="Page" --blobtype="Page"
azure storage blob copy start \
--account-name="coreos" \
--account-key="${ACCOUNT_KEY}" \
--source-blob="coreos-${VERSION}-${LGROUP}.vhd" \
--source-container="publish" \
--dest-container="pre-publish"
echo "Creating Azure image from blob..." echo "Creating Azure image from blob..."
azure vm image create \ azure vm image create \
--blob-url="https://coreos.blob.core.windows.net/publish/coreos-${VERSION}-${LGROUP}.vhd" \ --blob-url="https://coreos.blob.core.windows.net/publish/coreos-${VERSION}-${LGROUP}.vhd" \