Package: autopkgtest
Version: 5.21
Severity: normal
The autopkgtest-build-lxc script searches for a bridge interface as
follows:
local bridge_interface=$(awk '{ if ($1 == "lxc.network.link")
print($3)}' /etc/lxc/default.conf)
But the current version of the lxc package has the following in
/etc/lxc/default.conf:
-----
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.apparmor.profile = generated
lxc.apparmor.allow_nesting = 1
-----
So the bridge will not be detected.
Perhaps the code could be modified to something like:
local bridge_interface=$(awk '{ if ($1 == "lxc.network.link" || $1
== "lxc.net.0.link") print($3)}' /etc/lxc/default.conf)
Best wishes,
Julian