mirror_lxc/templates
Stéphane Graber 7ed86e4486
ubuntu: Fix regression in post-process
THe recent reorg of lxc-ubuntu introduced some package installation in
post-process but without first disabling service startup.

As a result, if the cache is a bit out of date and a ssh update is
available, post-process will apply that update (as it does apt-get
install ssh vim) which in turn will attemp to start sshd. This will
either lead to ssh on the host being restarted or if there's no sshd on
the host, will fail the container creation as the postinst will get an
error from upstart.

The fix is very simply to add the same policy-rc.d trick when running
post-process.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2013-11-27 19:46:18 -05:00
..
lxc-alpine.in Tab/spaces consistency for templates 2013-11-25 11:57:34 -05:00
lxc-altlinux.in use awk, instead of 'grep | awk' 2013-11-25 11:15:12 -05:00
lxc-archlinux.in licensing: Add missing headers and FSF address 2013-09-03 14:33:03 -04:00
lxc-busybox.in use awk, instead of 'grep | awk' 2013-11-25 11:15:12 -05:00
lxc-centos.in Added templates/lxc-centos for CentOS containers. 2013-11-26 13:48:24 -05:00
lxc-cirros.in Convert all files to utf-8 2013-11-25 12:59:07 -05:00
lxc-debian.in use awk, instead of 'grep | awk' 2013-11-25 11:15:12 -05:00
lxc-fedora.in lxc-fedora: Fixes for selinux and pam_loginuid.so 2013-11-25 15:22:49 -05: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 Convert all files to utf-8 2013-11-25 12:59:07 -05:00
lxc-plamo.in use awk, instead of 'grep | awk' 2013-11-25 11:15:12 -05:00
lxc-sshd.in Tab/spaces consistency for templates 2013-11-25 11:57:34 -05:00
lxc-ubuntu-cloud.in Tab/spaces consistency for templates 2013-11-25 11:57:34 -05:00
lxc-ubuntu.in ubuntu: Fix regression in post-process 2013-11-27 19:46:18 -05:00
Makefile.am Added templates/lxc-centos for CentOS containers. 2013-11-26 13:48:24 -05:00