Add Images2010/11/23 |
Add an image on Eucalyptus. This example shows to add CentOS 5.3. |
[root@frontend ~]# wget http://eucalyptussoftware.com/downloads/eucalyptus-images/euca-centos-5.3-x86_64.tar.gz [root@frontend ~]# tar zxvf euca-centos-5.3-x86_64.tar.gz [root@frontend ~]# cd euca-centos-5.3-x86_64 [root@frontend euca-centos-5.3-x86_64]# euca-bundle-image -i kvm-kernel/vmlinuz-2.6.28-11-generic --kernel true Checking image Tarring image Encrypting image Splitting image... Part: vmlinuz-2.6.28-11-generic.part.0 Generating manifest /tmp/vmlinuz-2.6.28-11-generic.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-upload-bundle -b centos-kernel-bucket \ -m /tmp/vmlinuz-2.6.28-11-generic.manifest.xml Checking bucket: centos-kernel-bucket Creating bucket: centos-kernel-bucket Uploading manifest file Uploading part: vmlinuz-2.6.28-11-generic.part.0 Uploaded image as centos-kernel-bucket/vmlinuz-2.6.28-11-generic.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-register centos-kernel-bucket/vmlinuz-2.6.28-11-generic.manifest.xml IMAGE eki-A7E117B5 [root@frontend euca-centos-5.3-x86_64]# euca-bundle-image -i kvm-kernel/initrd.img-2.6.28-11-generic --ramdisk true Checking image Tarring image Encrypting image Splitting image... Part: initrd.img-2.6.28-11-generic.part.0 Generating manifest /tmp/initrd.img-2.6.28-11-generic.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-upload-bundle -b centos-ramdisk-bucket \ -m /tmp/initrd.img-2.6.28-11-generic.manifest.xml Checking bucket: centos-ramdisk-bucket Creating bucket: centos-ramdisk-bucket Uploading manifest file Uploading part: initrd.img-2.6.28-11-generic.part.0 Uploaded image as centos-ramdisk-bucket/initrd.img-2.6.28-11-generic.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-register centos-ramdisk-bucket/initrd.img-2.6.28-11-generic.manifest.xml IMAGE eri-10291911 [root@frontend euca-centos-5.3-x86_64]# euca-bundle-image -i centos.5-3.x86-64.img --kernel eki-A7E117B5 --ramdisk eri-10291911 Checking image Tarring image Encrypting image Splitting image... Part: centos.5-3.x86-64.img.part.0 Part: centos.5-3.x86-64.img.part.1 Part: centos.5-3.x86-64.img.part.2 Part: centos.5-3.x86-64.img.part.3 Part: centos.5-3.x86-64.img.part.4 Part: centos.5-3.x86-64.img.part.5 Part: centos.5-3.x86-64.img.part.6 Part: centos.5-3.x86-64.img.part.7 Part: centos.5-3.x86-64.img.part.8 Part: centos.5-3.x86-64.img.part.9 Part: centos.5-3.x86-64.img.part.10 Part: centos.5-3.x86-64.img.part.11 Part: centos.5-3.x86-64.img.part.12 Part: centos.5-3.x86-64.img.part.13 Part: centos.5-3.x86-64.img.part.14 Part: centos.5-3.x86-64.img.part.15 Part: centos.5-3.x86-64.img.part.16 Part: centos.5-3.x86-64.img.part.17 Part: centos.5-3.x86-64.img.part.18 Generating manifest /tmp/centos.5-3.x86-64.img.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-upload-bundle -b centos-image-bucket \ -m /tmp/centos.5-3.x86-64.img.manifest.xml Checking bucket: centos-image-bucket Creating bucket: centos-image-bucket Uploading manifest file Uploading part: centos.5-3.x86-64.img.part.0 Uploading part: centos.5-3.x86-64.img.part.1 Uploading part: centos.5-3.x86-64.img.part.2 Uploading part: centos.5-3.x86-64.img.part.3 Uploading part: centos.5-3.x86-64.img.part.4 Uploading part: centos.5-3.x86-64.img.part.5 Uploading part: centos.5-3.x86-64.img.part.6 Uploading part: centos.5-3.x86-64.img.part.7 Uploading part: centos.5-3.x86-64.img.part.8 Uploading part: centos.5-3.x86-64.img.part.9 Uploading part: centos.5-3.x86-64.img.part.10 Uploading part: centos.5-3.x86-64.img.part.11 Uploading part: centos.5-3.x86-64.img.part.12 Uploading part: centos.5-3.x86-64.img.part.13 Uploading part: centos.5-3.x86-64.img.part.14 Uploading part: centos.5-3.x86-64.img.part.15 Uploading part: centos.5-3.x86-64.img.part.16 Uploading part: centos.5-3.x86-64.img.part.17 Uploading part: centos.5-3.x86-64.img.part.18 Uploaded image as centos-image-bucket/centos.5-3.x86-64.img.manifest.xml [root@frontend euca-centos-5.3-x86_64]# euca-register centos-image-bucket/centos.5-3.x86-64.img.manifest.xml IMAGE emi-1C70159E |
Sponsored Link |