分享

通过命令行,如何上传镜像文件?

snowwood2009 发表于 2016-4-5 10:20:26 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 24857
在仪表盘中,很方便就能够将本机的镜像文件(例如qcow2格式和iso格式)上传至OpenStack中,那么,在命令行中如何上传镜像文件呢?

已有(3)人评论

跳转到指定楼层
Alkaloid0515 发表于 2016-4-5 10:46:53
glance image-create --name "cirros-0.3.3-x86_64" --file cirros-0.3.3-x86_64-disk.img \
  --disk-format qcow2 --container-format bare --is-public True --progress

参考:
openstack【juno】入门 【glance 篇】十二:glance安装配置验证及相关操作
http://www.aboutyun.com/forum.php?mod=viewthread&tid=11460


回复

使用道具 举报

snowwood2009 发表于 2016-4-5 10:48:07
Alkaloid0515 发表于 2016-4-5 10:46
glance image-create --name "cirros-0.3.3-x86_64" --file cirros-0.3.3-x86_64-disk.img \
  --disk-fo ...

thanks !
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条