Opened 10 years ago
Last modified 10 years ago
#13275 new defect
VBoxManage does not set hostonly adapter name
Reported by: | Onkelringnes | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 4.3.14 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
I've got a script that creates VM's for me and one of the lines is this one: VBoxManage modifyvm "$VM" --nic2 hostonly --hostonlyadapter1 'vboxnet0'
I can see the adapter in the network section in the GUI, however the name is blank. To populate the name I need to use the GUI and enter Settings, Network, applicable adapter and press Ok. I.e. I do not need to change anything, just press Ok for the hostonly adapter to have the name set.
Note:
See TracTickets
for help on using tickets.
This is a major issue for me and has caused my transition from VirtualBox to VMware Fusion within my vagrant dev environment. I need to assign nics to be host only, but when I do the Box instantly expires and my project fails.
here is the script with the offending lines commented out