Hi, perfect, thank you, that file is still there in centos6 image. It is actually right there in the source, I don’t know how I missed it, probably too far down ;)
https://github.com/lxc/lxc-ci/blob/master/images/centos.yaml <https://github.com/lxc/lxc-ci/blob/master/images/centos.yaml> > On 4. Sep 2020, at 10:16, Harald Dunkel <harald.dun...@aixigo.com> wrote: > > Hi Aleksandar, > > I've found some old README for configuring RedHat LXC containers: > > # create an upstart handler for SIGPWR > cat <<EOF >/etc/init/power-status-changed.conf > # power-status-changed - shutdown on SIGPWR > # > start on power-status-changed > > exec /sbin/shutdown -h now "SIGPWR received" > EOF > # for RHEL5: edit /etc/inittab to set > pf::powerfail:/sbin/shutdown -h now "Power Failure; System Shutting > Down" > > > But I am not sure if this is applicable to CentOS 6. > > Hope this helps > Harri > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users