Imports github.com/lxc/lxd/lxd/project github.com/lxc/lxd/lxd/revert github.com/lxc/lxd/shared github.com/lxc/lxd/shared/logger github.com/lxc/lxd/shared/version github.com/pkg/errors github.com/lxc/lxd/lxd/device/config Standard library imports bufio encoding/hex encoding/json fmt net os os/exec strconv strings text/template