mirror_lxc/templates
Michael H. Warfield bf7d3153c9 lxc-fedrora: New patch for systemd detection and init configuration.
Satoshi Matsumoto certainly had the right idea and in spotting a bug in
the lxc-fedora template for systemd detection.  Heart was in the right
spot but patch was not what we needed.

I've looked the patch code over for systemd support and init/upstart
support and modified the logic appropriately.  If /etc/systemd/system
exists, we'll do the right thing by systemd.  If /etc/rc.sysinit exists,
we'll do the right thing by init / upstart.  If both are installed,
we'll trying and accommodate both in case someone is playing games with
the two (I've done this).

Patch was trivial, just took more time to actually test it and create
some containers with it and verify them, than it did to code them.

Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2013-08-15 13:32:53 -05:00
..
lxc-alpine.in templates: require running as root 2013-07-22 12:14:22 -05:00
lxc-altlinux.in Move container creation fully into the api 2013-05-25 19:27:07 -05:00
lxc-archlinux.in Move container creation fully into the api 2013-05-25 19:27:07 -05:00
lxc-busybox.in Move container creation fully into the api 2013-05-25 19:27:07 -05:00
lxc-cirros.in teach lxc-cirros about the --rootfs argument 2013-07-18 16:08:12 -05:00
lxc-debian.in Move container creation fully into the api 2013-05-25 19:27:07 -05:00
lxc-fedora.in lxc-fedrora: New patch for systemd detection and init configuration. 2013-08-15 13:32:53 -05:00
lxc-opensuse.in Move container creation fully into the api 2013-05-25 19:27:07 -05:00
lxc-oracle.in oracle template: use clonehostname hook script 2013-07-10 14:08:58 -05:00
lxc-sshd.in fix sshd template 2013-07-08 09:56:05 -05:00
lxc-ubuntu-cloud.in add a clone hook for ubuntu-cloud images 2013-08-09 08:40:25 -05:00
lxc-ubuntu.in ubuntu templates: add some kernel filesystems to container fstab 2013-07-17 09:56:57 -05:00
Makefile.am add lxc-cirros 2013-05-14 08:15:16 -05:00