[lxc-users] Setting gateway via python-lxc
Serge Hallyn
serge.hallyn at ubuntu.com
Mon Jan 5 17:17:56 UTC 2015
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 (eeg5auquaephoo5j at gmail.com):
> 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 <serge.hallyn at ubuntu.com>
> wrote:
>
> > Quoting BB (eeg5auquaephoo5j at gmail.com):
> > > 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
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list