generic setup for VMs