summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-09-12 14:10:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-12 14:10:57 +0000
commit28d894c7f577625635ef238a89e5cf53a92017a4 (patch)
treeedcbd582bd883f72e0adcca3bdb8b5eb4bacddd8
parent0d057d8e10fd5e29156516196ffec60ecb115087 (diff)
parent1a763c69762b0bdeabf42e1789316a39a2d55211 (diff)
Merge "bugfix: fix moon network configuration"
-rwxr-xr-xplugins/moon/roles/moon/handlers/main.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/moon/roles/moon/handlers/main.yml b/plugins/moon/roles/moon/handlers/main.yml
index ab2a090b..5029d378 100755
--- a/plugins/moon/roles/moon/handlers/main.yml
+++ b/plugins/moon/roles/moon/handlers/main.yml
@@ -7,9 +7,5 @@
##############################################################################
---
- 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