Sun Microsystems 3.0.0 user manual VBoxManage discardstate, VBoxManage snapshot

Models: 3.0.0

1 259
Download 259 pages 49.67 Kb
Page 116
Image 116

8VBoxManage reference

dvdattach inserts a DVD image into the virtual machine or connects it to the host DVD drive. With this command (as opposed to VBoxManage modifyvm), the image file does not first have to be registered with VirtualBox.

You can use VBoxManage list hostdvds to display all the drives found on the host and the names VirtualBox uses to access them.

floppyattach works in a similar way.

setvideomodehint requests that the guest system change to a particular video mode. This requires that the guest additions be installed, and will not work for all guest systems.

The setcredentials operation is used for remote logons in Windows guests. For details, please refer to chapter 9.2, Automated Windows guest logons (VBoxGINA), page 128.

8.10 VBoxManage discardstate

This command discards the saved state of a virtual machine which is not currently running, which will cause its operating system to restart next time you start it. This is the equivalent of pulling out the power cable on a physical machine, and should be avoided if possible.

8.11 VBoxManage snapshot

This command is used for taking snapshots of a virtual machine and for manipulating and discarding snapshots.

The take operation takes a snapshot of a virtual machine. You must supply a name for the snapshot and can optionally supply a description.

The discard operation discards a snapshot specified by name or by identifier (UUID).

The discardcurrent operation will either revert the current state to the most recent snapshot (if you specify the --state option) or discard the last snapshot and revert to the last but one (with the --all option).

8.12 VBoxManage openmedium / closemedium

These commands register or unregister hard disk, DVD or floppy images in VirtualBox. This is the command-line equivalent of the Virtual Disk Manager; see chapter 3.5, The Virtual Disk Manager, page 43 for more information.

116

Page 116
Image 116
Sun Microsystems 3.0.0 user manual VBoxManage discardstate, VBoxManage snapshot, VBoxManage openmedium / closemedium