Am I missing something, or is there no way to use vBoxmanage to remove a setextradata line?
A typo in the device name when setting IRQDelay borks the VM because it looks for a non-existent device on startup. ...and fails with a rather non-helpful error message.
It hit the problem doing a new install, so it was no problem to throw away the machine and start over, but it would be a pain on a fully configured VM.
How to remove setextradata
-
RAMilewski
- Posts: 8
- Joined: 6. May 2009, 21:24
- Primary OS: Mac OS X Leopard
- VBox Version: OSE other
- Guest OSses: Windows XP
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: How to remove setextradata
Sure there is. Just run the setextradata with no value and it will be removed.
See VBoxManage in your VirtualBox users manual.
See VBoxManage in your VirtualBox users manual.
VBoxManage setextradata global|<uuid>|<name>
<key>
[<value>] (no value deletes key)
-
RAMilewski
- Posts: 8
- Joined: 6. May 2009, 21:24
- Primary OS: Mac OS X Leopard
- VBox Version: OSE other
- Guest OSses: Windows XP
Re: How to remove setextradata
Oh! Thanks! Makes sense.
But... I thought I was looking at the manual: http://www.virtualbox.org/manual/ch08.html#idp14136624
...which isn't a wiki, or I would add a note there now. Doing a search of that whole file, I do see now that it's mentioned in the Command Overview, but not in the detailed description of the command to which you're sent if you click on the vBoxManage getextradata/setextradata entry in the table of contents.
Thanks again!
But... I thought I was looking at the manual: http://www.virtualbox.org/manual/ch08.html#idp14136624
...which isn't a wiki, or I would add a note there now. Doing a search of that whole file, I do see now that it's mentioned in the Command Overview, but not in the detailed description of the command to which you're sent if you click on the vBoxManage getextradata/setextradata entry in the table of contents.
Thanks again!
Re: How to remove setextradata
I went into the same problem but with an extra issue.
I have special characters in the "name" and passing it plain and escaped doesn't remove the line
Any thoughts on this?
I have special characters in the "name" and passing it plain and escaped doesn't remove the line
Code: Select all
<ExtraDataItem name="VBoxInternal/Devices/VMMDev/0/Config/
GetHostTimeDisabled" value="1"/>
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: How to remove setextradata
First try with the following:
VBoxManage setextradata "VBoxInternal/Devices/VMMDev/0/Config/
GetHostTimeDisabled"
As a last resort you can edit the *.vbox manually but make sure to back it up first and also that everything VirtualBox is shut down first.
VBoxManage setextradata "VBoxInternal/Devices/VMMDev/0/Config/
GetHostTimeDisabled"
As a last resort you can edit the *.vbox manually but make sure to back it up first and also that everything VirtualBox is shut down first.