glance upload 镜像

今天上传ubuntu镜像不知如何下手,看到此篇先转了明天再试


Startimg upload
glance -v add name="ubuntu-10.10-amd64"is_public=true</root/maverick-server-uec-amd64.tar.gz 
# OR add property (ex. distro)
glance -v add name="ubuntu-10.10-amd64"is_public=truedistro="ubuntu 10.10"</root/maverick-server-uec-amd64.tar.gz 
 
# Upload from other URL
glance -v add name="uubntu-10.04-amd64"is_public=truelocation="http://uec-images.ubuntu.com/lucid/current/lucid-server-uec-amd64.tar.gz"# Upload qcow2
glance -v add name="ubuntu-11.04-amd64"is_public=truedistro="ubuntu 11.04"disk_format="qcow2"</data/images/rock_natty.qcow2
# Other
glance-upload --type=kernel ./maverick-server-uec-amd64-vmlinuz-virtual maverick-server-uec-amd64-vmlinuz-virtual
glance-upload --type=ramdisk ./maverick-server-uec-amd64-loader maverick-server-uec-amd64-loader
glance-upload --type=machine --kernel=7--ramdisk=8 ./maverick-server-uec-amd64.img maverick-server-uec-amd64.img
glance-upload --type=raw --kernel=nokernel --ramdisk=noramdisk ./maverick-server-uec-amd64.img maverick-server-uec-amd64.img_v2
<

你可能感兴趣的:(upload,ubuntu,disk)