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