Issue link: https://read.uberflip.com/i/1334488
Chapter 2 41 2. We can now simply upload this to our environment, using the cloud-publish-tarball command, as follows: cloud-publish-tarball precise-server-cloudimg-i386.tar.gz images i386 3. Once complete, this is available as an image for use in our OpenStack Compute environment. To display images using euca2ools, use the following command: euca-describe-images To display images using Nova Client, use the following command: nova image-list CentOS/Fedora Images from eucalyptus.com 1. To get a CentOS image from eucalyptus.com, we download the tarball, as follows: wget "http://open.eucalyptus.com/sites/all/ modules/pubdlcnt/pubdlcnt.php? file=http://www.eucalyptussoftware.com/downloads/ eucalyptus-images/euca-centos-5.3-i386.tar.gz&nid=4305" -O euca-centos-5.3-i386.tar.gz 2. We can now simply upload this to our environment using the same cloud-publish-tarball command, as follows: cloud-publish-tarball euca-centos-5.3-i386.tar.gz images i386 3. Once complete, this is available as an image for use in our OpenStack Compute environment. To display images using euca2ools, use the following command: euca-describe-images To display images using Nova Client, use the following command: nova image-list How it works... Cloud images that are publicly available and packaged as tarballs can conveniently be uploaded to our OpenStack Compute environment, with the cloud-publish-tarball command, using the following syntax: cloud-publish-tarball tarball.tar.gz bucket architecture architecture is optional but recommended, as cloud-publish-tarball does its best to work out the architecture from the filename given. www.it-ebooks.info

