Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 862 Bytes

File metadata and controls

18 lines (13 loc) · 862 Bytes

OpenStack (Grizzly) - Glance Management Instructions

Creating and Uploading VMs to Glance

The execution of the glance commands require you to be on a system that have the python-glance package installed

Hyper-V (VHDs)

Navigate to the folder where your VMs are located and execute the following commands:

  1. $ cp your_vm_image.vhd image.vhd
  2. $ tar -czf image.vhd.gz image.vhd
  3. Import the VHD into Glance:
    • Windows Base VM
      • $ glance add name=“My VHD image” is_public=True disk_format=vhd container_format=ovf vm_mode=hvm image_state=available architecture=x86_64 < image.vhd.gz
    • Linux VM
      • $ glance add name=“My VHD image” is_public=True disk_format=vhd container_format=ovf vm_mode=xen image_state=available architecture=x86_64 < image.vhd.gz
  4. $ glance image-list