diff options
author | Justin chi <chigang@huawei.com> | 2017-09-12 14:10:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-12 14:10:57 +0000 |
commit | 28d894c7f577625635ef238a89e5cf53a92017a4 (patch) | |
tree | edcbd582bd883f72e0adcca3bdb8b5eb4bacddd8 /plugins | |
parent | 0d057d8e10fd5e29156516196ffec60ecb115087 (diff) | |
parent | 1a763c69762b0bdeabf42e1789316a39a2d55211 (diff) |
Merge "bugfix: fix moon network configuration"
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/moon/roles/moon/handlers/main.yml | 6 |
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 |