From e9566a574953d181380191f194d56c0a38ae7bb0 Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Mon, 30 Mar 2015 11:27:07 -0700 Subject: [PATCH] oem/azure: add pre-publish blob copy --- oem/azure/publish.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/oem/azure/publish.sh b/oem/azure/publish.sh index bb3487f598..02d992ac54 100755 --- a/oem/azure/publish.sh +++ b/oem/azure/publish.sh @@ -50,6 +50,13 @@ azure storage blob upload \ --blob="coreos-${VERSION}-${LGROUP}.vhd" \ --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..." azure vm image create \ --blob-url="https://coreos.blob.core.windows.net/publish/coreos-${VERSION}-${LGROUP}.vhd" \