<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 6, 2016 at 3:48 PM, Thomas Belián <span dir="ltr"><<a href="mailto:thomas.belian@fh-erfurt.de" target="_blank">thomas.belian@fh-erfurt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>>> Heena Sirwani <<a href="mailto:heenasirwani@gmail.com">heenasirwani@gmail.com</a>> schrieb am 6/6/2016 um 11:47 AM in<br>
Nachricht<br>
<CAFEh7=ktmMMZX-1Zsjn7_5g4zSjEsGRzUoBmjmLLuP=<a href="mailto:pfr7fmg@mail.gmail.com">pfr7fmg@mail.gmail.com</a>>:<br>
> Hi All,<br>
<br>
Hello,<br>
<span class=""><br>
><br>
> I have some containers that I create using lxc.create in python. These are<br>
> privileged containers. I set their network configurations using:<br>
> container.network.add and container.set_config_item for the added network.<br>
<br>
</span>after that you use container.save_config() as mentioned here?:<br>
<br>
<a href="https://www.stgraber.org/2012/09/28/introducing-the-python-lxc-api/" rel="noreferrer" target="_blank">https://www.stgraber.org/2012/09/28/introducing-the-python-lxc-api/</a></blockquote><div><br></div><div>Oh! I missed that. I was referring to <a href="https://github.com/lxc/lxc/blob/master/src/python-lxc/lxc/__init__.py">https://github.com/lxc/lxc/blob/master/src/python-lxc/lxc/__init__.py</a><br></div><div>for APIs to use and did not spot save_config() anywhere there.</div><div><br></div><div>Thanks a Ton!! <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Regards,<br>
Thomas<br>
<br>
<br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br></div></div>