Posts Tagged ‘Virtualbox’

adapter missing in exported vm?

Friday, June 11th, 2010

I’m adding this to my checklist when exporting a virtual machine via virtualbox.

on the guest image,

  1. become superuser
  2. echo “” > /etc/udev/rules.d/70-persistent-net.rules
  3. shutdown -r now
  4. open up the 70 persistent net rules again. change eth1 to eth0
  5. shutdown -h now
  6. go ahead and export (VBoxManage export $image_name -o $image_name.ovf)

For me, this saved a lot of asprin when importing VM on a new machine. This permits udev to assign the first available eth adpater to your machines virtual mac address.