mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 13:31:27 +00:00
lxc-net: switch After target to network-online.target
Otherwise it may start too early and end up taking 10.0.3.1 even though eth0 was eventually going to end up on 10.0.3.x. https://bugs.launchpad.net/juju-core/+bug/1510619 Reported-by: Ryan Harper <ryan.harper@ubuntu.com> Cc: Martin Pitt <martin.pitt@ubuntu.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
b5f4bc783f
commit
4ed565e51a
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=LXC network bridge setup
|
Description=LXC network bridge setup
|
||||||
After=network.target
|
After=network-online.target
|
||||||
Before=lxc.service
|
Before=lxc.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Loading…
Reference in New Issue
Block a user