glance上传镜像


glance image-create --name "centos68-test" --file centos68.dsk \
--disk-format raw --container-format bare --visibility public --progress \
--property hw_qemu_guest_agent=yes  \
--property os_type="linux"  \
--property hw_vif_model='e1000'  \
--property hw_vif_multiqueue_enabled='true'
 
glance image-create --name "Ubuntu1404-Server" --file unubtu1404.raw \
--disk-format raw --container-format bare  --progress \
--property hw_qemu_guest_agent=yes --property os_type="linux"
 
glance image-create --name "Windows2008SP2" --file win2k8r2.qcow2 \
--disk-format raw --container-format bare --progress \
--property hw_qemu_guest_agent=yes --property os_type="windows"
 
glance image-update --name <NAME> <IMAGE_ID>
glance image-update f9955670-729c-4826-bc4f-40576443de68 --visibility public
glance image-update fd193241-4c31-4a03-a336-86d1814b7a1c --property hw_vif_model='virtio'

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM