LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nova

command-line client for OpenStack Compute, which manages virtual machine

TLDR

List servers in the current project/tenant
$ nova list
copy
List servers across all tenants (admin)
$ nova list --all-tenants
copy
Boot an instance with network, image, and flavor
$ nova boot --nic net-id=[net_id] --image [image_id] --flavor [flavor] --availability-zone nova:[host_name] [vm_name]
copy
Power on a server
$ nova start [server]
copy
Power off a server
$ nova stop [server]
copy
Attach a network interface to a server
$ nova interface-attach --net-id [net_id] [server]
copy

SYNOPSIS

nova command [options] [arguments]

DESCRIPTION

nova is the command-line client for OpenStack Compute (Nova), which manages virtual machine instances in OpenStack clouds. It handles VM lifecycle operations: creating, starting, stopping, and deleting instances.Nova integrates with other OpenStack services: Glance for images, Neutron for networking, Cinder for block storage, and Keystone for authentication. Authentication credentials are typically provided through environment variables (OSUSERNAME, OSPASSWORD, etc.).The client communicates with the Nova API to provision compute resources according to specified configurations (flavor, image, network).

PARAMETERS

list

List virtual machines
boot
Create and boot a new VM
start
Start a stopped VM
stop
Stop a running VM
delete
Delete a VM
show
Show details of a VM
interface-attach
Attach a network interface to a VM
--nic net-id=_id_
Network to attach
--image _id_
Image ID to boot from
--flavor _name_
Instance type/size
--availability-zone _zone:host_
Placement specification
--all-tenants
Show VMs from all tenants (admin)

INSTALL

sudo zypper install nova
copy
brew install nova
copy
nix profile install nixpkgs#nova
copy

CAVEATS

Requires OpenStack credentials configured (typically via sourcing an openrc file). The legacy nova client is being replaced by openstack unified client. Network and storage configurations must exist before VM creation. Admin privileges needed for cross-tenant operations.

SEE ALSO

openstack(1), neutron(1), glance(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid