Possibly related issue here LXD 3.23 - Cluster setup, lxc exec has different behavior for containers and VMs