LinuxCommandLibrary

nova

The OpenStack project that provides a way to provision compute instances.

TLDR

List VMs on current tenant

$ nova list
copy


List VMs of all tenants (admin user only)
$ nova list --all-tenants
copy


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]
copy


Start a server
$ nova start [server]
copy


Stop a server
$ nova stop [server]
copy


Attach a network interface to a specific VM
$ nova interface-attach --net-id [net_id] [server]
copy

Copied to clipboard