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

lxc, lxd: Wait for containers to get a default network route



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.

When building lxc//lxd containers or using autopkgtest-virt-lxc/-lxd,
wait until we have a default route before proceeding.

Modified-By: default avatarMartin Pitt <mpitt@debian.org&gt;:>
 - Add the same approach to LXC
 - Some somplifications/robustifications

LP: #1749736
parent 9c8f6445
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