Reboot or shutdown Ubuntu Core systems using curl.
This snap provides a simple set of API to reboot or shutdown an Ubuntu Core system using curl.
How to use it
System reboot: curl http://target-ip-address:3500/reboot
System shutdown: curl http://target-ip-address:3500/poweroff
Before using it
Remember to connect the shutdown interface to this snap. Just run
snap connect powerswitch:shutdown