20 vboxmanage getextradata/setextradata – Sun Microsystems VIRTUALBOX VERSION 3.1.0_BETA2 User Manual
Page 129

8 VBoxManage reference
lun
Logical Unit Number of the target resource (optional). Often, this value is zero.
username, password
Username and password for target authentication, if required
(optional).
Note: Currently, username and password are stored without encryption (i.e.
in cleartext) in the machine configuration file.
type
Defines what kind of hard disk type this image should be.
comment
Any description that you want to have stored with this item (optional; e.g.
“Big storage server downstairs”). This is stored internally only and not needed
for operation.
intnet
Connect to the iSCSI target via Internal Networking. This needs further con-
figuration which is described in chapter
Access iSCSI targets via Internal
, page
8.20 VBoxManage getextradata/setextradata
These commands let you attach and retrieve string data to a virtual machine or to a
VirtualBox configuration (by specifying global instead of a virtual machine name).
You must specify a key (as a text string) to associate the data with, which you can later
use to retrieve it. For example:
VBoxManage setextradata Fedora5 installdate 2006.01.01
VBoxManage setextradata SUSE10 installdate 2006.02.02
would associate the string “2006.01.01” with the key installdate for the virtual ma-
chine Fedora5, and “2006.02.02” on the machine SUSE10. You could retrieve the
information as follows:
VBoxManage getextradata Fedora5 installdate
which would return
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Value: 2006.01.01
129