[lxc-users] Antw: Configuration information of container using set_config_item.
Heena Sirwani
heenasirwani at gmail.com
Mon Jun 6 12:32:34 UTC 2016
On Mon, Jun 6, 2016 at 3:48 PM, Thomas Belián <thomas.belian at fh-erfurt.de>
wrote:
> >>> Heena Sirwani <heenasirwani at gmail.com> schrieb am 6/6/2016 um 11:47
> AM in
> Nachricht
> <CAFEh7=ktmMMZX-1Zsjn7_5g4zSjEsGRzUoBmjmLLuP=pfr7fmg at mail.gmail.com>:
> > Hi All,
>
> Hello,
>
> >
> > I have some containers that I create using lxc.create in python. These
> are
> > privileged containers. I set their network configurations using:
> > container.network.add and container.set_config_item for the added
> network.
>
> after that you use container.save_config() as mentioned here?:
>
> https://www.stgraber.org/2012/09/28/introducing-the-python-lxc-api/
Oh! I missed that. I was referring to
https://github.com/lxc/lxc/blob/master/src/python-lxc/lxc/__init__.py
for APIs to use and did not spot save_config() anywhere there.
Thanks a Ton!!
>
>
> Regards,
> Thomas
>
>
>
> _______________________________________________
> 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/20160606/0b3b4605/attachment.html>
More information about the lxc-users
mailing list