Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/linux/nova Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`