I am currently using VBoxManage to create VMs and set properties such as network settings.
In one of my Linux VMs (that I create on the command line), I assign NIC1 (Network Adapter 1) to a Bridged Adapter using the following command:
Code: Select all
VBoxManage modifyvm myLinux --nic1 bridged
It seems that the value "Realtek PCIe GBE Family Controller" is set as the attached interface to the Bridged Adapter (this value maybe from the previously selected value), which is not present in the host (not a network interface of the Mac host).Could not start the machine
myLinux because the following
physical network interfaces were not found:
Realtek PCIe GBE Family Controller (adapter
1)
You can either change the machine's network
settings or stop the machine.
When I issue the following command, the VM will start correctly.
Code: Select all
VBoxManage modifyvm myLinux --bridgeadapter1 en0
I want the "en0" part to be the same with Virtual Box's default selected interface when a Bridged Adapter is created.
How can I achieve this?