nova: add page (#8660)

pull/1/head
Joel Tony 2022-10-08 19:12:58 +05:30 committed by GitHub
parent 24c7b0f24d
commit 4089acb778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
pages/linux/nova.md Normal file
View File

@ -0,0 +1,28 @@
# nova
> The OpenStack project that provides a way to provision compute instances.
> More information: <https://docs.openstack.org/nova/latest/>.
- 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}}`