Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Question about creating vm with custom image

$
0
0
Hello,
I'm trying to understand something about creating a vm with a custom image (https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-custom-images). If I just 'capture' the image from a vm without deprovisioning or any other step, the simple creation of a vm from this custom image works. However, when I deprovision with $sudo waagent -deprovision+user -force, which is the recommended way, the behavior is a bit puzzling. A new vm created from this custom image includes the updates (e.g. newer kernels) but the disk is empty, no file or software is loaded into the new vm. This happens whether the image is simply captured from the portal or using the CLI commands. Thanks.

Viewing all articles
Browse latest Browse all 12545

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>