Installing additional images

The CirrOS image is limited in functionality and is recommended only for testing network connectivity and basic Compute services. Multiple vendors provide cloud-ready images for use with OpenStack, including the following:

Canonical - Ubuntu  http://cloud-images.ubuntu.com/
Red Hat - CentOS http://cloud.centos.org/centos/

To install the Ubuntu 16.04 LTS image, download the file to /tmp/images and upload it to Glance:

    # wget -P /tmp/images http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img

Use the openstack image create command to upload the new image:

    # openstack image create "ubuntu-xenial-16.04"
--file /tmp/images/xenial-server-cloudimg-amd64-disk1.img
--disk-format qcow2 --container-format bare
--public

Another look at the image list shows the new Ubuntu image is available for use:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset