LoginSignup
54
68

More than 3 years have passed since last update.

Virtualboxの仮想マシンをコマンドラインから操作

Last updated at Posted at 2013-06-26

既出ですが

一覧表示

$ VBoxManage list vms
"ubuntu_130464" {2cbe2351-acc8-4a11-9636-d2a4827e3eaa}
"windowsxp" {431511a2-42ae-419d-9395-4d90b20f1b24}

起動

$ VBoxManage startvm "windowsxp" --type headless

起動中一覧

$ VBoxManage list runningvms

シャットダウン開始

$ VBoxManage controlvm ubuntu_130464 acpipowerbutton
$ VBoxManage controlvm windowsxp acpipowerbutton

電源OFF

$ VBoxManage controlvm ubuntu_130464 poweroff 
$ VBoxManage controlvm windowsxp poweroff

サスペンド

$ VBoxManage controlvm ubuntu_130464 savestate
$ VBoxManage controlvm windowsxp savestate
54
68
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
54
68