On 2013/02/27 17:33, Kamezawa Hiroyuki wrote:
Hi.
At playing libvirt-lxc on Fedora18, I found that the user needs
some workarounds to run /sbin/init as the root process of container.
With Fedora15, I found this
https://gist.github.com/peo3/1142202.
And I know virt-sandbox-service have some clever way to understand RPM
to make domain running with a service.
Here is a script I wrote for F18 inspired by above two. Creating
LXC domain running systemd as /init program. I'd like to get
some feedback....and ...can't this kind of scripts be maintained by some
virt-tools project ?
Anyway, playing with lxc is fun. I'm glad if someone makes this script better :)
==
Thanks!
I think this work that creating root filesystem/directories and xml
configure files for container should be done by virt-install.
Daniel,what's your idea? Should we implement the same feature in
virt-install?