Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxd-stophook: Adds stop hook wrapper for the lxd command
This command is intended to replace the `lxd` command in the snap so that existing running containers that are stopping will call this script as part of their stop hooks. This will then "route" the command to the `lxd-user` command that will be statically compiled so that it can connect to the running LXD daemon via the unix socket to indicate the container is stopping, even after refreshing the LXD snap to a different core base snap. Signed-off-by: Thomas Parrott <[email protected]>
- Loading branch information