Ok, I tried again with 1.0.6 and it failed (as expected). Then I updated to the ppa version (1.1.0~alpha3+master~20150101-2236-0ubuntu1~trusty) and ... surprise ... it works :-)
Thanks for the hint. I hope the newer versions get's into trusty-updates sooner or later. Best regards, BB On Mon, Jan 5, 2015 at 6:17 PM, Serge Hallyn <[email protected]> wrote: > Could you try using ppa:ubuntu-lxc/daily? > > Though really 1.0.6 should have any fixes that were added to > config saving... but still worth a try. > > Quoting BB ([email protected]): > > Hi, > > > > I am using 1.0.6-0ubuntu0.1 on Ubuntu trusty... actually that version is > > from trusty-updates. The lxc, liblxc1, and lxc-templates packages have > the > > same version. > > > > Kind regards, > > > > BB > > > > On Mon, Jan 5, 2015 at 5:54 PM, Serge Hallyn <[email protected]> > > wrote: > > > > > Quoting BB ([email protected]): > > > > Hallo again, > > > > > > > > I just noticed that even though I set: > > > > >>> container.network[0].ipv4 = '10.0.10.3/24' > > > > > > > > >>> container.network[0].ipv4 > > > > ['10.0.10.3'] > > > > >>> container.save_config() > > > > > > > > The container's config contains: > > > > lxc.network.ipv4 = 10.0.10.3/8 > > > > > > > > I also tried: > > > > >>> container.set_config_item('lxc.network.0.ipv4', ' > 10.0.10.3/24') > > > > False > > > > > > For me it gives me > > > > > > lxc.network.0.ipv4 = 10.0.10.3/24 > > > > > > What version are you using? > > > _______________________________________________ > > > lxc-users mailing list > > > [email protected] > > > http://lists.linuxcontainers.org/listinfo/lxc-users > > > _______________________________________________ > > lxc-users mailing list > > [email protected] > > http://lists.linuxcontainers.org/listinfo/lxc-users > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
