test-prepare-host: Fix SUSE directory for network scripts

The correct location is /etc/sysconfig/network/scripts instead of
/etc/sysconfig/network/script for the SUSE compatibility scripts.

This has also been fixed in the ifcfg(5) manpage

Link: https://github.com/openSUSE/wicked/pull/713
Change-Id: I32a9b3edc22a2dc7fdfb4f8da39ba46224b108b8
This commit is contained in:
Markos Chandras 2017-07-17 11:32:59 +01:00
parent 6a401f3d92
commit d75bd8349c
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@
- name: Put down post-up script for veth-peer interfaces (SUSE)
template:
src: "network_interfaces/rpm_interface_{{ item[0] }}.cfg.j2"
dest: "/etc/sysconfig/network/script/{{ item[0] }}-veth-{{ item[1].name | default('br-mgmt') }}-2-{{ item[1].veth_peer | default('eth1') }}"
dest: "/etc/sysconfig/network/scripts/{{ item[0] }}-veth-{{ item[1].name | default('br-mgmt') }}-2-{{ item[1].veth_peer | default('eth1') }}"
mode: "0755"
with_nested:
- [ "ifup-post", "ifdown-post" ]