[lxc-users] Antw: Configuration information of container using set_config_item.

Thomas Belián thomas.belian at fh-erfurt.de
Mon Jun 6 10:18:36 UTC 2016


>>> 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/

Regards,
Thomas





More information about the lxc-users mailing list