Edit values on *.vbox XML files with VBoxManage

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Vidanio
Posts: 2
Joined: 15. Nov 2018, 17:13

Edit values on *.vbox XML files with VBoxManage

Post by Vidanio »

In the top of any *.vbox file there is a notice:
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
I would like to edit the BridgedInterface tag name in this file using VBoxManage, but I dont find the way to do it.

Code: Select all

<BridgedInterface name="Broadcom NetXtreme Gigabit Ethernet"/>
Is there any way to attempt it ?
Thanks in advance and regards
/Vidanio
BillG
Volunteer
Posts: 5105
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Edit values on *.vbox XML files with VBoxManage

Post by BillG »

Did you look in the VBoxManage section of the manual, especially Chapter 8.8.2?
VBoxManage.PNG
Bill
Vidanio
Posts: 2
Joined: 15. Nov 2018, 17:13

Re: Edit values on *.vbox XML files with VBoxManage

Post by Vidanio »

Thanks, I finally could change the device got by:

Code: Select all

"%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" list bridgedifs
Name:            Broadcom NetXtreme Gigabit Ethernet
GUID:            c8a27172-df97-435a-b87a-45df20f3aef8
Just with this command:

Code: Select all

"%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" modifyvm "MyVM" --bridgeadapter1 "Broadcom NetXtreme Gigabit Ethernet"
Regards
/Vidanio
Post Reply