标签:执行 list mat x86 open public 镜像 status nic
网络很慢,直接本地传.
openstack image create "Fedora30" --file Fedora-Cloud-Base-30-1.2.x86_64.qcow2 --disk-format qcow2 --container-format bare --public
所有支持的类型 choose from ‘ami‘, ‘ari‘, ‘aki‘, ‘vhd‘, ‘vmdk‘, ‘raw‘, ‘qcow2‘, ‘vhdx‘, ‘vdi‘, ‘iso‘, ‘ploop‘
其中注意的是 OVA格式
的,要解压 tar xvf xxx.ova
然后在上传xxx.vmdk
文件即可.
openstack image create "ubuntu1804" --file ubuntu-bionic-18.04-cloudimg.vmdk --disk-format vmdk --container-format bare --public
1、执行环境变量
stack@ubsv:/mnt/s2t/openstackImg$ source admin-openrc.sh #如果是devstack `cd /opt/stack/devstack/ source openrc admin admin`
stack@ubsv:/mnt/s2t/openstackImg$ openstack image list
+--------------------------------------+--------------------------+--------+
| ID | Name | Status |
+--------------------------------------+--------------------------+--------+
| 3b10127f-5190-4803-b63a-95398cd08e20 | Centos76 | active |
| 7bc97ac5-3a97-4868-89bc-a7f136bf2cbb | Fedora30 | active |
| b1ed1c79-7e57-4eec-b0be-40dd109b5ebd | cirros-0.4.0-x86_64-disk | active |
| 55449a54-a892-48fc-b914-7d5c26cc36fd | rhel6_small | active |
| bb9e0cb2-ebc1-4f01-848a-bec3eb87f1ce | ubuntu1804 | active |
| 84f1a750-80c1-4f84-a3eb-73cf0305970d | virtio | active |
| 04f103f6-0e24-4f17-b7b3-4b1f1d29492c | win10dev | active |
+--------------------------------------+--------------------------+--------+
标签:执行 list mat x86 open public 镜像 status nic
原文地址:https://www.cnblogs.com/lovesKey/p/10884195.html