Due to creating the br-mgmt bridge,
it is necessary to remove the IP from the eth0 interface.
Change-Id: I32cf4d47530be3d625e29202f70b5667e6113a8c
Signed-off-by: wutianwei <wutianwei1@huawei.com>
##############################################################################
---
- name: restart network service
- shell: "ifconfig eth0 down && ifconfig eth0 up && \
- /sbin/ifdown -a && \
+ shell: "ifconfig eth0 0 && /sbin/ifdown -a && \
/sbin/ifup --ignore-errors -a"
-
-- name: restart nfs service
- service: name=nfs-kernel-server state=restarted