Created
June 7, 2018 18:05
-
-
Save jwkidd3/d7e59e90004cc3b44a7d80caf1fed661 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| create new vm from ubuntu 16.04LTS | |
| ssh into new vm | |
| install nginx | |
| run sudo waagent -deprovision+user -force | |
| az vm deallocate --resource-group myResourceGroup --name myVM | |
| az vm generalize --resource-group myResourceGroup --name myVM | |
| az image create -g myResourceGroup -n myImage --source myVM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment