Network should work out of the box in the most usual cases
Configure it using networkd
Image booted in a vm should have network connection out-of-the box