mirror_lxc/templates
Michael H. Warfield 99c2fb07d7 Additional logic for dealing with container shutdown / reboot
Additional logic for dealing with container shutdown / reboot

Fix a problem with CentOS containers and legacy Fedora (<16) containers
not shutting down or rebooting properly.  Copy /etc/init.d/halt to
/etc/init.d/lxc-halt, deleting everything from the "hwclock save" and
all after and append a force halt or reboot at the end of the new
script, to prevent reexecing init.  Link that script in as
S00lxc-halt in rc0.d and S00lxc-reboot in rc6.d to intercept the
shutdown process before it gets to S01halt / S01reboot causing the hang.

Fixed some typos in the CentOS template that were introduced in the
previous patch for hwaddr settings and missed in regression testing.

Cleaned up some instruction typos and tabs from previous patch.

Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2014-01-02 10:11:34 -06:00
..
lxc-alpine.in Tab/spaces consistency for templates 2013-11-25 11:57:34 -05:00
lxc-altlinux.in altlinux: Use relative paths and fix rootfs variable. 2013-12-09 14:55:58 -05:00
lxc-archlinux.in licensing: Add missing headers and FSF address 2013-09-03 14:33:03 -04:00
lxc-busybox.in lxc-busybox: make securityfs bind-mount optional 2013-12-09 14:59:08 -05:00
lxc-centos.in Additional logic for dealing with container shutdown / reboot 2014-01-02 10:11:34 -06:00
lxc-cirros.in Convert all files to utf-8 2013-11-25 12:59:07 -05:00
lxc-debian.in Some tweak on previous change (timezone) 2013-12-02 17:42:48 -05:00
lxc-fedora.in Additional logic for dealing with container shutdown / reboot 2014-01-02 10:11:34 -06:00
lxc-openmandriva.in Tab/spaces consistency for templates 2013-11-25 11:57:34 -05:00
lxc-opensuse.in Tab/spaces consistency for templates 2013-11-25 11:57:34 -05:00
lxc-oracle.in oracle: fix chcon warning when selinux disabled 2013-12-06 15:36:19 -05:00
lxc-plamo.in plamo: Improve template for lxc-stop 2013-12-25 17:06:55 +01:00
lxc-sshd.in sshd: Don't bind-mount /sbin/init read-write 2013-12-19 12:17:39 +01:00
lxc-ubuntu-cloud.in typo fix: create $rootfs/dev/pts 2013-12-12 12:07:36 -06:00
lxc-ubuntu.in ubuntu: Fix initial container creation 2013-12-13 17:56:13 -05:00
Makefile.am Added templates/lxc-centos for CentOS containers. 2013-11-26 13:48:24 -05:00