changed subnet for provider-network

This commit is contained in:
Wim Nap 2018-07-25 10:38:44 +02:00
parent ca1dae370e
commit 7d1c3b7de7

View File

@ -15,11 +15,11 @@
- name: post install configuration
command: docker exec -i keystone.service bash -c "source /root/admin-openrc.sh && {{ item }}"
with_items:
- openstack network create --share --external --provider-physical-network provider --provider-network-type vlan --provider-segment 985 vlan985
- openstack network create --share --external --provider-physical-network provider --provider-network-type vlan --provider-segment 983 vlan983
- >
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 subnet create --subnet-range 172.23.41.0/24 --gateway 172.23.41.101
--network vlan983 --allocation-pool start=172.23.41.75,end=172.23.41.100
--dns-nameserver 8.8.8.8 vlan983_subnet
- openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.nano
- openstack keypair create --public-key /root/id_rsa.pub adminkey