tinkerbell / hook

In-memory Operating System Installation Environment for Executing Tinkerbell Workflows
Apache License 2.0
101 stars 48 forks source link

Ability to signal host shutdown #189

Closed jasonyates-thg closed 3 weeks ago

jasonyates-thg commented 10 months ago

It would be useful to be able to signal the host system to shutdown in the same fashion we are able to signal the system to reboot via writing /worker/reboot

My use case is a deprovisioning workflow that erases disks, profiles the hardware and then ideally shuts the system down

jacobweinstock commented 3 weeks ago

This is being tracked with https://github.com/tinkerbell/roadmap/issues/29. This will most likely be added as a built-in to tink worker in the future. For the moment, an Action like https://github.com/jacobweinstock/waitdaemon can shutdown a host.