FWIW a simple workaround is:

$ lxc config set $container user.user_data "apt_preserve_sources_list:
true"

Add that to a profile or pass to a `lxc launch` command and your
sources.list will be preserved.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579981

Title:
  LXD overwrites /etc/apt/sources.list during 'lxc image copy'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1579981/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to