Added an additional Glance installation verification example.

Added an addition of uploading an instance with the --copy-from
option for Glance, which allows for downloading from the URL
specified and also upload to Glance at the same time.

Made a couple small changes.

Change-Id: Ieb7a8e097184e5ed60e17f5f29de13efe5ba6239
This commit is contained in:
Steven Deaton 2014-03-05 06:26:14 +00:00 committed by Anne Gentle
parent 579829ff98
commit 70b3c2951b

View File

@ -145,4 +145,27 @@
+--------------------------------------+-----------------+-------------+------------------+----------+--------+</computeroutput></screen>
</step>
</procedure>
<para>Alternatively, the upload to the Image Service can be done without having to use local disk space to store the file, by use of the <parameter>--copy-from</parameter> parameter.</para>
<para>For example:</para>
<screen><prompt>#</prompt> <userinput>glance image-create --name="CirrOS 0.3.1" --disk-format=qcow2 \
--container-format=bare --is-public=true --copy-from http://cdn.download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img</userinput>
<computeroutput>+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | d972013792949d0d3ba628fbe8685bce |
| container_format | bare |
| created_at | 2014-03-05T06:13:18 |
| deleted | False |
| disk_format | qcow2 |
| id | 3cce1e32-0971-4958-9719-1f92064d4f54 |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | CirrOS 0.3.1 |
| owner | e519b772cb43474582fa303da62559e5 |
| protected | False |
| size | 13147648 |
| status | active |
| updated_at | 2014-03-05T06:13:20 |
+------------------+--------------------------------------+</computeroutput></screen>
</section>