[Bug 1579981] Re: LXD overwrites /etc/apt/sources.list during 'lxc image copy'

2017-06-02 Thread Jacob Zimmermann
This does not work. I'm using lxc config set $container user.user_data "apt_preserve_sources_list: true" and my sources.list is still being overwritten. BTW what kind of insane idea is this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1579981] Re: LXD overwrites /etc/apt/sources.list during 'lxc image copy'

2016-05-24 Thread Michał Sawicz
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

[Bug 1579981] Re: LXD overwrites /etc/apt/sources.list during 'lxc image copy'

2016-05-24 Thread Michał Sawicz
I've also filed bug #1585307 to track the fact that you can't do this on a simple `lxc copy`. -- 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

[Bug 1579981] Re: LXD overwrites /etc/apt/sources.list during 'lxc image copy'

2016-05-24 Thread Tycho Andersen
Hi guys, so I've just talked with smoser, and he points out, 2016-05-24 09:06:47 smoser tych0, doesn't the file they pasted say exactly waht to do ? 2016-05-24 09:07:00 smoser ## Note, this file is written by cloud-init on first boot of an instance 2016-05-24 09:07:01 smoser ##

[Bug 1579981] Re: LXD overwrites /etc/apt/sources.list during 'lxc image copy'

2016-05-09 Thread Stéphane Graber
LXD has no such logic. Currently the Ubuntu Cloud images are configured in such a way that a container copy is considered as new instance creation which triggers cloud-init. This was done at the recommendation of the cloud-init maintainer so I'm re-assigning this bug to cloud-init to either have