To avoid having a state
string in a state
API endpoint, I was actually considering adding state
to /1.0
and use PUT /1.0
to change the state from the guest.
Effectively: curl --unix-socket /dev/lxd/sock -X PATCH -d '{"state": "READY"}' lxd/1.0