Skip to content

Instantly share code, notes, and snippets.

@cinek810
Last active October 19, 2017 20:52
Show Gist options
  • Save cinek810/72e50a7b7e1450e3f8152430eaf8fce1 to your computer and use it in GitHub Desktop.
Save cinek810/72e50a7b7e1450e3f8152430eaf8fce1 to your computer and use it in GitHub Desktop.
bash-3.2$ az vm create<ENTER>
az vm create: error: the following arguments are required: --name/-n, --resource-group/-g
which is really great for me, so the simplest VM creation command is:
bash-3.2$ az vm create -n TestVM -g MarcinStolarek-Test<ENTER>
incorrect usage: --image IMAGE | --attach-os-disk DISK
bash-3.2$ az vm create -n TestVM -g MarcinStolarek-Test --image<TAB><TAB>
CentOS Debian SLES Win2008R2SP1 Win2012R2Datacenter openSUSE-Leap
CoreOS RHEL UbuntuLTS Win2012Datacenter Win2016Datacenter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment