From fd7f31bf16cce2309fff4576c3be5a41a921d6ff Mon Sep 17 00:00:00 2001 From: Salvo Rapisarda Date: Mon, 4 May 2015 15:14:07 +0200 Subject: [PATCH] First version of nova cheat --- cheat/cheatsheets/nova | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cheat/cheatsheets/nova diff --git a/cheat/cheatsheets/nova b/cheat/cheatsheets/nova new file mode 100644 index 0000000..de3e6e8 --- /dev/null +++ b/cheat/cheatsheets/nova @@ -0,0 +1,20 @@ +# To list VMs on current tenant: +nova list + +# To list VMs of all tenants (admin user only): +nova list --all-tenants + +# To boot a VM on a specific host: +nova boot --nic net-id= \ + --image \ + --flavor \ + --availability-zone nova: + +# To stop a server +nova stop + +# To start a server +nova start + +# To attach a network interface to a specific VM: +nova interface-attach --net-id \ No newline at end of file