The LXD interface name is the one you see in lxc config show
and so will always be eth0 in your case.
The name you see in lxc list
is the one reported by the VM. Until the agent is up, LXD assumes it’s named after the LXD device so will show eth0
. Once the agent is functional, this changes to the real name which for VMs is typically enp5s0
.