openstack命令建立ubuntu18.10映象
阿新 • • 發佈:2018-12-30
這個介面:
這個介面
下載映象:
[email protected]:~/images# wget http://cloud-images.ubuntu.com/daily/server/cosmic/current/cosmic-server-cloudimg-amd64.img
使用glance命令建立映象
參考:https://blog.csdn.net/mashangyou/article/details/24237819
參考:https://tieba.baidu.com/p/3672617052?red_tag=2475973178
參考:https://www.cnblogs.com/CloudMan6/p/5393376.html
[email protected]:~# glance image-create --name Ubuntu18.10 --file images/cosmic-server-cloudimg-amd64.img --disk-format qcow2 --container-format bare --progress [=============================>] 100% +------------------+--------------------------------------------------------------------+ | Property | Value | +------------------+--------------------------------------------------------------------+ | checksum | d0a4d1c62d2ca9ff4771cf3368e63ae2 | | container_format | bare | | created_at | 2018-12-28T06:02:27Z | | direct_url | file:///var/lib/glance/images/fe46480e-904d-4f2d-86a9-e7f558a2b4eb | | disk_format | qcow2 | | id | fe46480e-904d-4f2d-86a9-e7f558a2b4eb | | min_disk | 0 | | min_ram | 0 | | name | Ubuntu18.10 | | owner | 3898c2031a6b4ed584c5a2faf3c8395c | | protected | False | | size | 480968704 | | status | active | | tags | [] | | updated_at | 2018-12-28T06:02:30Z | | virtual_size | None | | visibility | private | +------------------+--------------------------------------------------------------------+
網頁檢視:
使用該映象測試:
[email protected]:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
[email protected]:~$ date
Fri Dec 28 06:16:20 UTC 2018