<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">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 ;)</div><div class=""><br class=""></div><div class=""><a href="https://github.com/lxc/lxc-ci/blob/master/images/centos.yaml" class="">https://github.com/lxc/lxc-ci/blob/master/images/centos.yaml</a></div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 4. Sep 2020, at 10:16, Harald Dunkel <<a href="mailto:harald.dunkel@aixigo.com" class="">harald.dunkel@aixigo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Aleksandar,<br class=""><br class="">I've found some old README for configuring RedHat LXC containers:<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">      </span># create an upstart handler for SIGPWR<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>cat <<EOF >/etc/init/power-status-changed.conf<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>#  power-status-changed - shutdown on SIGPWR<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>#<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>start on power-status-changed<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">     </span>exec /sbin/shutdown -h now "SIGPWR received"<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>EOF<br class=""><span class="Apple-tab-span" style="white-space:pre">    </span># for RHEL5: edit /etc/inittab to set<br class=""><span class="Apple-tab-span" style="white-space:pre">  </span>pf::powerfail:/sbin/shutdown -h now "Power Failure; System Shutting Down"<br class=""><br class=""><br class="">But I am not sure if this is applicable to CentOS 6.<br class=""><br class="">Hope this helps<br class="">Harri<br class="">_______________________________________________<br class="">lxc-users mailing list<br class=""><a href="mailto:lxc-users@lists.linuxcontainers.org" class="">lxc-users@lists.linuxcontainers.org</a><br class="">http://lists.linuxcontainers.org/listinfo/lxc-users<br class=""></div></div></blockquote></div><br class="">

<br class=""></div></body></html>