Atom feed of this document
  
 

 Attach swap or ephemeral disk to an instance

Use the nova boot --swap parameter to attach a swap disk on boot or the nova boot --ephemeral parameter to attach an ephemeral disk on boot. When you terminate the instance, both disks are deleted.

Boot an instance with a 512 MB swap disk and 2 GB ephemeral disk:

$ nova boot --flavor FLAVOR --image IMAGE_ID --swap 512 --ephemeral size=2 NAME
[Note]Note

The flavor defines the maximum swap and ephemeral disk size. You cannot exceed these maximum values.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...