Created
February 25, 2022 02:49
-
-
Save jeffnelson1/c6c289a710eb7baa1ef4c0e711b633ac to your computer and use it in GitHub Desktop.
Deploy CentOS VM via Az CLI
This file contains 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
vm create -n "centos-2" \ | |
-g "rg-linuxvms-test" \ | |
--location "centralus" \ | |
--image "CentOS" \ | |
--vnet-name "vnet-lab-01" \ | |
--subnet "app" \ | |
--ssh-key-name "linux-lab" \ | |
--size "Standard_B1s" \ | |
--public-ip-sku "Standard" \ | |
--admin-username "azureuser" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment