[lxc-users] Setting gateway via python-lxc
BB
eeg5auquaephoo5j at gmail.com
Mon Jan 5 17:05:21 UTC 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150105/a87532a8/attachment.html>
More information about the lxc-users
mailing list