From 4089acb7788c682ad18f50889ebb5ad77f345559 Mon Sep 17 00:00:00 2001 From: Joel Tony <95355656+jay-tau@users.noreply.github.com> Date: Sat, 8 Oct 2022 19:12:58 +0530 Subject: [PATCH] nova: add page (#8660) --- pages/linux/nova.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/nova.md diff --git a/pages/linux/nova.md b/pages/linux/nova.md new file mode 100644 index 000000000..fe3f8ebd6 --- /dev/null +++ b/pages/linux/nova.md @@ -0,0 +1,28 @@ +# nova + +> The OpenStack project that provides a way to provision compute instances. +> More information: . + +- List VMs on current tenant: + +`nova list` + +- List VMs of all tenants (admin user only): + +`nova list --all-tenants` + +- Boot a VM on a specific host: + +`nova boot --nic net-id={{net_id}} --image {{image_id}} --flavor {{flavor}} --availability-zone nova:{{host_name}} {{vm_name}}` + +- Start a server: + +`nova start {{server}}` + +- Stop a server: + +`nova stop {{server}}` + +- Attach a network interface to a specific VM: + +`nova interface-attach --net-id {{net_id}} {{server}}`