workaround "Local ip for ovs agent must be set when tunneling is enabled"
This commit is contained in:
parent
c1d43488f8
commit
03c6a6a7df
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,8 @@
|
|||
- service: name=iptables state=started enabled=yes
|
||||
|
||||
# http://docs.openstack.org/trunk/install-guide/install/yum/content/basics-neutron-networking-controller-node.html
|
||||
- command: ifdown br-tun
|
||||
when: packstack_sucessfully_finished.stat.exists == False
|
||||
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="^ONBOOT=" line="ONBOOT=yes"
|
||||
# only for first run
|
||||
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="^NETMASK=" line="NETMASK=255.255.255.0"
|
||||
|
@ -75,6 +77,9 @@
|
|||
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="BOOTPROTO=" line="BOOTPROTO=none"
|
||||
- template: src={{files}}/fedora-cloud/ifcfg-br-ex dest=/etc/sysconfig/network-scripts/ifcfg-br-ex owner=root mode=0644
|
||||
when: packstack_sucessfully_finished.stat.exists == False
|
||||
- command: ifup eth1
|
||||
when: packstack_sucessfully_finished.stat.exists == False
|
||||
|
||||
# FIXME notify network service restart, eth1 must be up and configured
|
||||
|
||||
# http://docs.openstack.org/trunk/install-guide/install/yum/content/basics-ntp.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue