Last active
April 9, 2020 05:43
-
-
Save tukiyo/5864520 to your computer and use it in GitHub Desktop.
Virtualboxの仮想マシンをコマンドラインから操作 ref: https://qiita.com/tukiyo3/items/5ecea7f95cb961f07194
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ VBoxManage list vms | |
"ubuntu_130464" {2cbe2351-acc8-4a11-9636-d2a4827e3eaa} | |
"windowsxp" {431511a2-42ae-419d-9395-4d90b20f1b24} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ VBoxManage startvm "windowsxp" --type headless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ VBoxManage list runningvms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ VBoxManage controlvm ubuntu_130464 acpipowerbutton | |
$ VBoxManage controlvm windowsxp acpipowerbutton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ VBoxManage controlvm ubuntu_130464 poweroff | |
$ VBoxManage controlvm windowsxp poweroff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ VBoxManage controlvm ubuntu_130464 savestate | |
$ VBoxManage controlvm windowsxp savestate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ VBoxManage controlvm ubuntu_130464 savestate | |
$ VBoxManage controlvm windowsxp savestate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment