azure storage account connectionstring show --blob-endpoint gfw.blob.core.chinacloudapi.cn mcops
Step 2:
azure storage blob upload -c '<step1 string>' -f /tmp/coreos_production_azure_image.vhd --container test --blobtype page
Step 3:
azure vm image create -f -u https://gfw.blob.core.chinacloudapi.cn/vm-images/coreos_production_azure_image1.vhd -f -v CoreOS-Latest --location "China North" --os Linux https://gfw.blob.core.chinacloudapi.cn/vm-images/coreos_production_azure_image.vhd azure vm image create myimage --blob-url https://myaccount.blob.core.chinacloudapi.cn/mycontainer/ImageName.vhd --os linux
Step 4:
azure vm create <dnsname> <imagename> -u <vmusername> -p <vmpassword> -l <location>
No comments:
Post a Comment