onedr0p / k3s-homeops-ansible

Bootstrap a k3s cluster on top of Ubuntu 20.04
54 stars 5 forks source link

Do not send poweroff on power button press #58

Closed onedr0p closed 4 years ago

onedr0p commented 4 years ago

edit /etc/systemd/logind.conf

change #HandlePowerKey=poweroff to HandlePowerKey=ignore

this will prevent misclicks with the power button on my NUCs, you can still force poweroff by holding the button

onedr0p commented 4 years ago

Closed in https://github.com/k8s-at-home/k3s-cluster-ansible/commit/c2c17949c2f78239c48ad5e223d9546e5fdb5b14