solaris-cookbook.eu
XCP-NG use powerbutton to shutdown Server | The Solaris Cookbook | The Cookbook and reference for IT Admins | poweroff, shutdown, xcp-ng, XenServer
poweroff, shutdown, xcp-ng, XenServer The user has an XCP-NG Server for a home lab that they wish to shut down quickly and easily without using XOA or shell. They couldn't find a direct solution for XCP, so they adapted a method from CentOS. By editing the /etc/systemd/logind.conf file to modify the power key behavior, they achieved a quick shutdown process.
Andreas