Skip to content

Instantly share code, notes, and snippets.

@jeffnelson1
Created February 25, 2022 02:49
Show Gist options
  • Save jeffnelson1/c6c289a710eb7baa1ef4c0e711b633ac to your computer and use it in GitHub Desktop.
Save jeffnelson1/c6c289a710eb7baa1ef4c0e711b633ac to your computer and use it in GitHub Desktop.
Deploy CentOS VM via Az CLI
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