Skip to content

Instantly share code, notes, and snippets.

@waltervargas
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save waltervargas/6fa809ca88e2d110a6b1 to your computer and use it in GitHub Desktop.

Select an option

Save waltervargas/6fa809ca88e2d110a6b1 to your computer and use it in GitHub Desktop.
Creating Debian Image for OpenStack

Creating Debian Image for OpenStack

  1. Install the package build-openstack-debian-image
    # apt-get install build-openstack-debian-image
        
  2. Generate image.
    # build-openstack-debian-image -r wheezy -u http://192.168.113.76:3142/ftp.debian.org/debian -ar 
        
  3. Convert to qcow and Import the image at openstack
    # qemu-img convert -c debian-wheezy-7.0.0-3-amd64.raw -O qcow2 debian-wheezy-7.0.0-3-amd64.qcow2
    # glance image-create --name Debian-Wheezy-7.0.0-3-amd64 --disk-format=qcow2 --container-format=bare < debian-wheezy-7.0.0-3-amd64.qcow2
        
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment