Wednesday, 6 February 2013

Vboxheadless and bridge nic trouble

I wanted to have my VM built on Windows to be hosted on an Ubuntu linux Virtualbox headless. The VM had a bridged interface and when I tried to fire it up after a plain import I got this:
Error: failed to start machine. Error message: Configuration error: Failed to get the "Trunk" value (VERR_CFGM_NOT_ENOUGH_SPACE).
Failed to attach the network LUN (VERR_CFGM_NOT_ENOUGH_SPACE)
The solution is simple:
  1. check the host's main network interface name (or the one you want to bridge to), e.g. eth1
  2. modify the VM's bridge interface to that with:
vboxmanage modifyvm vm_name --bridgeadapter1 eth1
After this adjustment is done and the bridge interface knows where to point to the VM will surely fire up.

No comments:

Post a Comment