[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: heads up about lxc default network change (for meta/setup)



On Sun, May 31, 2020 at 12:50:42AM +0530, Pirate Praveen wrote:
> Hi,
> 
> I was asked about this change in lxc configuration when I did an apt update
> on sid.
> 
> --- /etc/lxc/default.conf 2020-02-03 18:58:42.920817709 +0530
> +++ /etc/lxc/default.conf.dpkg-new 2020-05-25 21:41:32.000000000 +0530
> @@ -1,5 +1,6 @@
> -lxc.apparmor.profile = generated
> -lxc.apparmor.allow_nesting = 1
> lxc.net.0.type = veth
> -lxc.net.0.link = virbr0
> +lxc.net.0.link = lxcbr0
> lxc.net.0.flags = up
> +
> +lxc.apparmor.profile = generated
> +lxc.apparmor.allow_nesting = 1
> 
> I think lxc now does networking by default, we may have to adjust meta/setup
> accordingly. I have not tested what happens yet, but we will need to change
> meta/setup for this I think.

yes. strictly speaking the code in setup will still work but will
overwrite the default lxc config. starting with this new version we
don't have to do the setup by hand, so it could be skipped on lxc > 1:4

Attachment: signature.asc
Description: PGP signature


Reply to: