@bdacasc
You have to change the interface name from ens160 to eth0 after migrating a Ubuntu VM from ESXi to XCP-NG.
The file yopu need to edit is /etc/netplan/00-installer-config.yaml
After that type:
sudo netplan apply
With that the network should work again