adding cirros image
This commit is contained in:
parent
f5c3261b68
commit
26670534a6
@ -22,5 +22,11 @@
|
|||||||
--dns-nameserver 8.8.8.8 vlan983_subnet
|
--dns-nameserver 8.8.8.8 vlan983_subnet
|
||||||
- openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.nano
|
- openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.nano
|
||||||
- openstack keypair create --public-key /root/id_rsa.pub adminkey
|
- openstack keypair create --public-key /root/id_rsa.pub adminkey
|
||||||
|
- name: Install cirros image
|
||||||
|
get_url:
|
||||||
|
url: http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
|
||||||
|
dest: /tmp/cirros-0.4.0-x86_64-disk.img
|
||||||
|
checksum: sha256:a8dd75ecffd4cdd96072d60c2237b448e0c8b2bc94d57f10fdbc8c481d9005b8
|
||||||
|
shell: >
|
||||||
|
source source /srv/keystone/root/admin-openrc.sh &&
|
||||||
|
openstack image create --disk-format qcow2 cirros < cirros-0.4.0-x86_64-disk.img
|
||||||
|
Loading…
Reference in New Issue
Block a user