eucalyptus [ep1]

ยากบัดซบมาก!

[[email protected] images]# tar xzf wheezy_20130610.tar.gz 
[[email protected] images]# ls -l
total 283904
drwxr-xr-x. 2 root root      4096 Jun 10 02:07 wheezy
-rw-r--r--. 1 root root 290419446 Jun 10 02:09 wheezy_20130610.tar.gz
[[email protected] images]# cd wheezy
[[email protected] wheezy]# ls
image  initrd.img-3.2.0-4-amd64  vmlinuz-3.2.0-4-amd64
[[email protected] wheezy]# euca-bundle-image --image vmlinuz-3.2.0-4-amd64 --kernel true
Checking image
Compressing image
Encrypting image
Splitting image...
Part: vmlinuz-3.2.0-4-amd64.part.00
Generating manifest /tmp/vmlinuz-3.2.0-4-amd64.manifest.xml     
[[email protected] wheezy]# mv /tmp/vmlinuz-3.2.0-4-amd64.* .
[[email protected] wheezy]# euca-upload-bundle --bucket wheezy --manifest vmlinuz-3.2.0-4-amd64.manifest.xml 
Checking bucket: wheezy
Uploading manifest file
Uploading part: vmlinuz-3.2.0-4-amd64.part.00
Uploaded image as wheezy/vmlinuz-3.2.0-4-amd64.manifest.xml
[[email protected] wheezy]# euca-register wheezy/vmlinuz-3.2.0-4-amd64.manifest.xml
IMAGE	eki-2338373C
[[email protected] wheezy]# euca-bundle-image --image initrd.img-3.2.0-4-amd64 --ramdisk true
Checking image
Compressing image
Encrypting image
Splitting image...
Part: initrd.img-3.2.0-4-amd64.part.00
Generating manifest /tmp/initrd.img-3.2.0-4-amd64.manifest.xml   
[[email protected] wheezy]# mv /tmp/initrd.img-3.2.0-4-amd64.* .
[[email protected] wheezy]# euca-upload-bundle --bucket wheezy --manifest initrd.img-3.2.0-4-amd64.manifest.xml 
Checking bucket: wheezy
Uploading manifest file
Uploading part: initrd.img-3.2.0-4-amd64.part.00
Uploaded image as wheezy/initrd.img-3.2.0-4-amd64.manifest.xml
[[email protected] wheezy]# euca-register wheezy/initrd.img-3.2.0-4-amd64.manifest.xml
IMAGE	eri-03993FF1
[[email protected] wheezy]# euca-bundle-image -i image --kernel IMAGEeki-2338373C --ramdisk eri-03993FF1
Checking image
Compressing image
Encrypting image
Splitting image...
Part: image.part.00
Part: image.part.01
Part: image.part.02
Part: image.part.03
Part: image.part.04
Part: image.part.05
Part: image.part.06
Part: image.part.07
Part: image.part.08
Part: image.part.09
Part: image.part.10
Part: image.part.11
Part: image.part.12
Part: image.part.13
Part: image.part.14
Part: image.part.15
Part: image.part.16
Part: image.part.17
Part: image.part.18
Part: image.part.19
Part: image.part.20
Part: image.part.21
Part: image.part.22
Part: image.part.23
Part: image.part.24
Part: image.part.25
Part: image.part.26
Generating manifest /tmp/image.manifest.xml
[[email protected] wheezy]# cd /tmp/
[[email protected] tmp]# mv image.manifest.xml `date +%Y%m%d`.debian.wheezy.manifest.xml
[[email protected] tmp]# euca-upload-bundle -b wheezy -m 20130610.debian.wheezy.manifest.xml 
Checking bucket: wheezy
Uploading manifest file
Uploading part: image.part.00
Uploading part: image.part.01
Uploading part: image.part.02
Uploading part: image.part.03
Uploading part: image.part.04
Uploading part: image.part.05
Uploading part: image.part.06
Uploading part: image.part.07
Uploading part: image.part.08
Uploading part: image.part.09
Uploading part: image.part.10
Uploading part: image.part.11
Uploading part: image.part.12
Uploading part: image.part.13
Uploading part: image.part.14
Uploading part: image.part.15
Uploading part: image.part.16
Uploading part: image.part.17
Uploading part: image.part.18
Uploading part: image.part.19
Uploading part: image.part.20
Uploading part: image.part.21
Uploading part: image.part.22
Uploading part: image.part.23
Uploading part: image.part.24
Uploading part: image.part.25
Uploading part: image.part.26
Uploaded image as wheezy/20130610.debian.wheezy.manifest.xml
[[email protected] tmp]# euca-register wheezy/20130610.debian.wheezy.manifest.xml
IMAGE	emi-F92F3C2C
[[email protected] tmp]# euca-modify-image-attribute -l emi-F92F3C2C -a all
IMAGE	emi-F92F3C2C

ตอนนี้ไม่มีแรงอธิบายละ..
มีแรงเมื่อไหร่ จะกลับมาอธิบาย