Create vlan985 subnet like in gearshift
This commit is contained in:
parent
b4d9eed775
commit
c49db46a4d
@ -15,8 +15,11 @@
|
|||||||
- name: post install configuration
|
- name: post install configuration
|
||||||
command: docker exec -i keystone.service bash -c "source /root/admin-openrc.sh && {{ item }}"
|
command: docker exec -i keystone.service bash -c "source /root/admin-openrc.sh && {{ item }}"
|
||||||
with_items:
|
with_items:
|
||||||
- openstack network create --share --external --provider-physical-network provider --provider-network-type flat provider
|
- openstack network create --share --external --provider-physical-network provider --provider-network-type vlan --provider-segment 985 vlan985
|
||||||
- openstack network set --external provider
|
- >
|
||||||
|
openstack subnet create --subnet-range 172.23.59.0/22 --gateway 172.23.59.1
|
||||||
|
--network vlan985 --allocation-pool start=172.23.59.75,end=172.23.59.100
|
||||||
|
--dns-nameserver 172.23.32.248 vlan985_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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user