mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-15 12:24:09 +00:00

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>
14 lines
253 B
SYSTEMD
14 lines
253 B
SYSTEMD
[Unit]
|
|
Description=LXC network bridge setup
|
|
After=network-online.target
|
|
Before=lxc.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=@LIBEXECDIR@/lxc/lxc-net start
|
|
ExecStop=@LIBEXECDIR@/lxc/lxc-net stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|