lxc/lxc-1.1.4-fix-bootorder.patch
2015-10-21 16:57:13 +02:00

23 lines
951 B
Diff

diff -up lxc-1.1.4/config/init/systemd/lxc-net.service.in.orig lxc-1.1.4/config/init/systemd/lxc-net.service.in
--- lxc-1.1.4/config/init/systemd/lxc-net.service.in.orig 2015-10-06 16:18:16.000000000 +0200
+++ lxc-1.1.4/config/init/systemd/lxc-net.service.in 2015-10-21 16:34:06.283178668 +0200
@@ -1,6 +1,6 @@
[Unit]
Description=LXC network bridge setup
-After=network.target
+After=network-online.target
Before=lxc.service
[Service]
diff -up lxc-1.1.4/config/init/systemd/lxc.service.in.orig lxc-1.1.4/config/init/systemd/lxc.service.in
--- lxc-1.1.4/config/init/systemd/lxc.service.in.orig 2015-10-06 16:18:16.000000000 +0200
+++ lxc-1.1.4/config/init/systemd/lxc.service.in 2015-10-21 16:33:41.193477243 +0200
@@ -1,6 +1,6 @@
[Unit]
Description=LXC Container Initialization and Autoboot Code
-After=syslog.target network.target lxc-net.service
+After=syslog.target network-online.target lxc-net.service
Wants=lxc-net.service
[Service]