Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
azure vm capture does not capture attached disks. (Works from Azure portal) #1268
On a running Ubuntu 14.04 image, run these commands from the Azure CLI tools:
azure vm disk attach-new
This results in a captured image that only contains the VHD for OS disk but not the additional data disk.
If instead you shutdown and capture the image from the Azure portal, this results with an image that contains the attached data disk.