1. functest change the judgement condition, the DOMAIN_NAME need use Default instead of default
2. making the eth0 down and up to change the route in baremetal deploy
Change-Id: I7dacf59cdd0c4db396b2db8b0a5fdd7003829391
Signed-off-by: wutianwei <wutianwei1@huawei.com>
dest: /opt/openrc
regexp: "internalURL"
replace: "publicURL"
-
-- name: replace Default with default in openrc
- replace:
- dest: /opt/openrc
- regexp: "Default"
- replace: "default"
##############################################################################
---
- name: restart network service
- shell: "/sbin/ifdown -a && \
+ shell: "ifconfig eth0 down && ifconfig eth0 up && \
+ /sbin/ifdown -a && \
/sbin/ifup --ignore-errors -a"
- name: restart nfs service