VBoxManage常用命令笔记

VBoxManage是VirtualBox命令行的接口。使用它可以从命令行操作VirtualBox。VBoxManage不仅支持所有从GUI界面的操作。还比GUI的支持更多的特性。它暴露虚拟引擎所有的特性,甚至包括GUI不支持的。

VBoxManage is the command-line interface to VirtualBox. With it, you can completely control VirtualBox from the command line of your host operating system. VBoxManage supports all the features that the graphical user interface gives you access to, but it supports a lot more than that. It exposes really all the features of the virtualization engine, even those that cannot (yet) be accessed from the GUI.

常用的命令如下:
VBoxManage list vms
显示所有注册到VirtualBox所有虚拟机

VBoxManage list runningvms
显示所有运行中的虚拟机

VBoxManage showvminfo "centos7"
显示指定虚拟机的详细说明

VBoxManage startvm "centos7" --type gui
已GUI窗口模式启动虚拟机,默认。

VBoxManage startvm "centos7" --type headless
已远程模式启动会虚拟机(Starts a VM without a window for remote display only.)

VBoxManage snapshot "centos7" take base
为名为centos7创建一张叫base的快照

VBoxManage snapshot "centos7" delete base
为虚拟机centos7删除名为base的快照

VBoxManage controlvm "centos7" poweroff
关闭虚拟机centos7

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值