Skip to content
Commit 563eac74 authored by Iain Lane's avatar Iain Lane Committed by Martin Pitt
Browse files

lxc, lxd: If we're running systemd, wait until the network is up



We execute `apt-get update' more or less as soon as the container is
started. In some situations this is too early: it can be before network
is fully working.

If we have systemd, use network-online.target to wait until it thinks
networking is up.

Modified-By: default avatarMartin Pitt <mpitt@debian.org>
  - Add the same approach to LXC
  - Some simplification

LP: #1749736
parent ba52df90
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment