interfaces: use ipfdown2 version 3.0.0
This commit is contained in:
parent
cc736cc94e
commit
b239dfb38f
@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=ifupdown2 networking initialization
|
Description=Network initialization
|
||||||
Documentation=man:interfaces(5) man:ifup(8) man:ifdown(8)
|
Documentation=man:interfaces(5) man:ifup(8) man:ifdown(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=network.target shutdown.target network-online.target
|
Before=network.target shutdown.target network-online.target
|
||||||
@ -10,6 +10,7 @@ Type=oneshot
|
|||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
SyslogIdentifier=networking
|
SyslogIdentifier=networking
|
||||||
TimeoutStopSec=30s
|
TimeoutStopSec=30s
|
||||||
|
EnvironmentFile=/etc/default/networking
|
||||||
ExecStart=/usr/share/ifupdown2/sbin/start-networking start
|
ExecStart=/usr/share/ifupdown2/sbin/start-networking start
|
||||||
ExecStop=/usr/share/ifupdown2/sbin/start-networking stop
|
ExecStop=/usr/share/ifupdown2/sbin/start-networking stop
|
||||||
ExecReload=/usr/share/ifupdown2/sbin/start-networking reload
|
ExecReload=/usr/share/ifupdown2/sbin/start-networking reload
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
apt: name=python-pkg-resources
|
apt:
|
||||||
|
name:
|
||||||
|
- bridge-utils
|
||||||
|
- python-pkg-resources
|
||||||
|
|
||||||
|
# work-around to get a version new enough not to screw up forwarding setting on all interfaces
|
||||||
- name: Install ifupdown2
|
- name: Install ifupdown2
|
||||||
apt: name=ifupdown2 state=latest
|
apt: deb=http://ftp.de.debian.org/debian/pool/main/i/ifupdown2/ifupdown2_3.0.0-1_all.deb
|
||||||
|
|
||||||
- name: Uninstall ifupdown
|
- name: Uninstall ifupdown
|
||||||
apt: name=ifupdown state=absent
|
apt: name=ifupdown state=absent
|
||||||
|
Loading…
Reference in New Issue
Block a user