The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / systemd / network.service
1 [Unit]
2 Description=Network Connectivity
3 Wants=network.target
4 Before=network.target
5
6 [Service]
7 Type=oneshot
8 RemainAfterExit=yes
9
10 # lo is brought up earlier, which will cause the upcoming "ifup -a" to fail
11 # with exit code 1, due to an "ip: RTNETLINK answers: File exists" error during
12 # its "ip addr add ..." command, subsequently causing this unit to fail even
13 # though it is a benign error. Flushing the lo address with the command below
14 # before ifup prevents this failure.
15 ExecStart=/sbin/ip addr flush dev lo
16
17 ExecStart=/sbin/ifup -a
18 ExecStop=/sbin/ifdown -a
19
20 [Install]
21 WantedBy=multi-user.target