updated readme to improve command lines for upload to glance
authorPaul Tonelli <paul.tonelli@logilab.fr>
Mon, 11 Mar 2013 17:48:55 +0100
changeset 61 3cd4cfb57874
parent 60 ea9ba2e759fc
child 62 3763b28d28eb
updated readme to improve command lines for upload to glance
readme.txt
--- a/readme.txt	Mon Mar 11 16:31:52 2013 +0100
+++ b/readme.txt	Mon Mar 11 17:48:55 2013 +0100
@@ -18,7 +18,7 @@
 
 ====== START =======
 
-rev: 1b995dc39507
+rev: db50f38c6760
 address: http://hg.logilab.fr/users/ptonelli/srv_salt
 origin: debian #or ubuntu
 
@@ -27,17 +27,18 @@
 
 you can add an ip to your instance, ssh to the machine and wait until
 everything in /mnt is unmounted. you can then upload what you want to glance
-with something like (don't forget to change the ids in the last tim):
+with something like (don't forget to change the ids in the last tim or to
+include your credentials by downloading and running openrc.sh):
 
-glance add is_public=false disk_format=aki container_format=aki\
-name=ami-creator-kernel < vmlinuz-3.2.0-4-amd64
+glance add is_public=false disk_format=aki container_format=aki \
+name=variation-kernel < vmlinuz_variation
 
-glance add is_public=false disk_format=ari container_format=ari\
-name=ami-creator-ramdisk < initrd.img-3.2.0-4-amd64
+glance add is_public=false disk_format=ari container_format=ari \
+name=variation-ramdisk < initrd_variation
 
-glance add disk_format=ami container_format=ami name="ami-creator-amd64"\
-kernel_id=278de93c-5276-410f-a221-667cc1443cf8\
-ramdisk_id=b953e40a-2605-402b-8663-c8556a5899f2 < /mnt/ami-creator.img
+glance add disk_format=ami container_format=ami name="variation-amd64"\
+kernel_id=278de93c-5276-410f-a221-667cc1443cf8 \
+ramdisk_id=b953e40a-2605-402b-8663-c8556a5899f2 < /mnt/variation.img
 
 
 Files