Create a VM on openstack
Because it is difficult to create an image. Wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz publish image # uec-publish-tarball cirros-0.3.0-x86_64-uec.tar.gz cirr x86_64
Warning: 'uec-publish-tarball 'is now to 'cloud-publish-tarball'. Please update your tools or docs
Thu Jun 28 18:42:11 CST 2012 :===== extracting image ====
Kernel: cirros-0.3.0-x86_64-vmlinuz
Ramdisk: cirros-0.3.0-x86_64-initrd
Image: cirros-0.3.0-x86_64-blank.img
Thu Jun 28 18:42:11 CST 2012 :===== bundle/upload kernel ====
Thu Jun 28 18:42:13 CST 2012 :===== bundle/upload ramdisk ======
Thu Jun 28 18:42:15 CST 2012 :===== bundle/upload image ======
Thu Jun 28 18:42:17 CST 2012 :===== done ======
Emi = "ami-00000009"; ERI = "ari-00000008"; eki = "aki-00000007"; write down the EMI value when publishing, which will be passed in when you create a VM later. Create VM euca-run-instances ami-00000009-K feisky-T m1.tiny wait a moment, you can use the Nova list or euca-describe-instances to see that the created VM is active, you can also see that the VM is running in XM list. After the VM is created, you can connect to it through SSH or the console: SSH-I mykey. priv root @ $ IPaddress or XM console instance-00000003.