diff options
author | Yifei Xue <xueyifei@huawei.com> | 2017-12-08 06:10:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-08 06:10:13 +0000 |
commit | 5fbadc0b9b5d8726050906d0923abfe7ea5ce1c0 (patch) | |
tree | 132705edc83b8caecba54e51c7539e902d8b94e5 /deploy/adapters/ansible/roles/post-osa | |
parent | 199d9e9cc7aeee88c271f835dfb12433e8d10f85 (diff) | |
parent | 3fa627b6048c4aa17b4cf3d641a4ea60465c7cef (diff) |
Merge "Add CentOS 7.4 support for OpenStack Pike"
Diffstat (limited to 'deploy/adapters/ansible/roles/post-osa')
-rw-r--r-- | deploy/adapters/ansible/roles/post-osa/tasks/RedHat.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/post-osa/tasks/RedHat.yml b/deploy/adapters/ansible/roles/post-osa/tasks/RedHat.yml index ecfd0680..287fd515 100644 --- a/deploy/adapters/ansible/roles/post-osa/tasks/RedHat.yml +++ b/deploy/adapters/ansible/roles/post-osa/tasks/RedHat.yml @@ -14,6 +14,12 @@ dest: /etc/sysconfig/network-scripts/ifcfg-eth0 line: "IPADDR={{ ip_settings[inventory_hostname][\"mgmt\"][\"ip\"] }}" +- name: remove br-mgmt in ifcfg-eth0 + lineinfile: + dest: /etc/sysconfig/network-scripts/ifcfg-eth0 + regexp: "^BRIDGE=br-mgmt" + state: absent + - name: add eth0 netmask lineinfile: dest: /etc/sysconfig/network-scripts/ifcfg-eth0 |