Give a full path for glance verification

Give a specific directory so that it's clear that this is not a
subdirectory of the Image store (/var/lib/glance).

Also, remove the created directory at the end to make it clear that this
is a temporary download.

Change-Id: If42e5e891e728e7fb87318e29d88ede1376294b2
Closes-Bug: #1271018
This commit is contained in:
Andreas Jaeger 2014-05-02 19:28:35 +02:00
parent 8bd76e3c6c
commit 4371ddd3f9
1 changed files with 9 additions and 2 deletions

View File

@ -24,8 +24,8 @@
<para>Download the image into a dedicated directory using
<command>wget</command> or
<command>curl</command>:</para>
<screen><prompt>$</prompt> <userinput>mkdir images</userinput>
<prompt>$</prompt> <userinput>cd images/</userinput>
<screen><prompt>$</prompt> <userinput>mkdir /tmp/images</userinput>
<prompt>$</prompt> <userinput>cd /tmp/images/</userinput>
<prompt>$</prompt> <userinput>wget http://cdn.download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img</userinput></screen>
</step>
<step>
@ -145,6 +145,13 @@
| acafc7c0-40aa-4026-9673-b879898e1fc2 | cirros-0.3.2-x86_64 | qcow2 | bare | 13167616 | active |
+--------------------------------------+---------------------+-------------+------------------+----------+--------+</computeroutput></screen>
</step>
<step>
<para>
You can now remove the locally downloaded image, since it
is stored and available through the Image Service.
</para>
<screen><prompt>$</prompt> <userinput>rm -r /tmp/images</userinput></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>