On Wed, Mar 23, 2011 at 10:18 PM, Jamie Nguyen <jamie****@tomoy*****>wrote: > Mauras Olivier wrote: > > I have now a clean domain of my container. Now have to find how to get > > different domain per container :) > > If I've understood usage of LXC correctly from what I've read, this is > easy to accomplish if you create a separate launcher script for each > of your containers. For example, you could create > /usr/local/bin/lxc-start-container1, make it executable and put this > inside: > > #!/bin/bash > /usr/bin/lxc-start -n container1 > > Repeat for each container you have, and then put this in exception policy: > > initialize_domain /usr/local/bin/lxc-start-container1 from any > initialize_domain /usr/local/bin/lxc-start-container2 from any > initialize_domain /usr/local/bin/lxc-start-container3 from any > etc... > > Each of these scripts should then give you a different domain for each > container. > > > Kind regards, > Jamie > > _______________________________________________ > tomoyo-users-en mailing list > tomoy****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/tomoyo-users-en > Ok I'll try that. Thank you very much for your help, Olivier -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/tomoyo-users-en/attachments/20110323/a22334f9/attachment.html>