Learning OpenStack Networking
上QQ阅读APP看书,第一时间看更新

Installing additional images

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: