Re: a script for libvirt-llxc + systemd on Fedora18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 28, 2013 at 06:03:46PM +0800, Gao feng wrote:
> 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?

I have always tended to view this as something to be done in a new tool
claled virt-bootstrap, since it is a very different approach to the
installation of guests than virt-install.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]