test

Page 137

8 VBoxManage VBoxManage getextradata Fedora5 installdate

which would return VirtualBox Command Line Management Interface Version 4.2.4 (C) 2005-2012 Oracle Corporation All rights reserved. Value: 2006.01.01

To remove a key, the setextradata command must be run without specifying data (only the key), for example: VBoxManage setextradata Fedora5 installdate

8.27 VBoxManage setproperty This command is used to change global settings which affect the entire VirtualBox installation. Some of these correspond to the settings in the “Global settings” dialog in the graphical user interface. The following properties are available: machinefolder This specifies the default folder in which virtual machine definitions are kept; see chapter 10.1, Where VirtualBox stores its files, page 178 for details. vrdeauthlibrary This specifies which library to use when “external” authentication has been selected for a particular virtual machine; see chapter 7.1.5, RDP authentication, page 102 for details. websrvauthlibrary This specifies which library the web service uses to authenticate users. For details about the VirtualBox web service, please refer to the separate VirtualBox SDK reference (see chapter 11, VirtualBox programming interfaces, page 188). vrdelibrary This specifies which library implements the VirtualBox Remote Desktop Extension. hwvirtexenabled This selects whether or not hardware virtualization support is enabled by default.

8.28 VBoxManage usbfilter add/modify/remove The usbfilter commands are used for working with USB filters in virtual machines, or global filters which affect the whole VirtualBox setup. Global filters are applied before machine-specific filters, and may be used to prevent devices from being captured by any virtual machine. Global filters are always applied in a particular order, and only the first filter which fits a device is applied. So for example, if the first global filter says to hold (make available) a particular Kingston memory stick device and the second to ignore all Kingston devices, that memory stick will be available to any machine with an appropriate filter, but no other Kingston device will. When creating a USB filter using usbfilter add, you must supply three or four mandatory parameters. The index specifies the position in the list at which the filter should be placed. If there is already a filter at that position, then it and the following ones will be shifted back one place. Otherwise the new filter will be added onto the end of the list. The target parameter selects the virtual machine that the filter should be attached to or use “global” to apply it to all virtual machines. name is a name for the new filter and for global filters, action says whether to allow machines access to devices that fit the filter description (“hold”) or not to give them access (“ignore”). In addition, you should specify parameters to filter by. You can find the parameters for devices attached to your system using VBoxManage list usbhost. Finally, you can specify

137


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.