[lxc-devel] [PATCH] lxc-net: switch After target to network-online.target
Stéphane Graber
stgraber at ubuntu.com
Thu Oct 29 21:55:51 UTC 2015
On Tue, Oct 27, 2015 at 08:05:18PM +0000, Serge Hallyn wrote:
> 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 at ubuntu.com>
> Cc: Martin Pitt <martin.pitt at ubuntu.com>
> Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
> ---
> config/init/systemd/lxc-net.service.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/config/init/systemd/lxc-net.service.in b/config/init/systemd/lxc-net.service.in
> index 0467c0f..1b8ef99 100644
> --- a/config/init/systemd/lxc-net.service.in
> +++ b/config/init/systemd/lxc-net.service.in
> @@ -1,6 +1,6 @@
> [Unit]
> Description=LXC network bridge setup
> -After=network.target
> +After=network-online.target
> Before=lxc.service
>
> [Service]
> --
> 2.5.0
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20151029/f7fdb348/attachment-0001.sig>
More information about the lxc-devel
mailing list