我在ubuntu server 命令行状态下, 用VBoxManage createvm --name "vm1" --register 创建的虚拟机都默认建立在 /root/ VirtualBox VMs/ 下了, 我想修改这个默认路径和目录, 准备安装到其它的目录下如何操作啊??
谢谢
在问个问题,如何修改Virtualbox 的配置文件?
-
- 帖子: 22
- 注册时间: 2014-01-04 18:47
- 系统: ubuntu server 13.10
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 在问个问题,如何修改Virtualbox 的配置文件?
試試
加上參數
--basefolder <path>
the machine folder will be named <path>
資料來源
Virtualbox Version 4.3.6
User Manual
P125
8.7 VBoxManage createvm
加上參數
--basefolder <path>
the machine folder will be named <path>
資料來源
Virtualbox Version 4.3.6
User Manual
P125
8.7 VBoxManage createvm
-
- 帖子: 22
- 注册时间: 2014-01-04 18:47
- 系统: ubuntu server 13.10
Re: 在问个问题,如何修改Virtualbox 的配置文件?
谢谢楼上高手, [-basefolder <path> 试了下,确实可以指定目录。 谢谢! 后面我多看看手册。
我想问的还有个一个就是,Virtualbox 这个软件本身的 基础变量,或者环境变量有没有可以修改的地方?
比如下图红框中的有地方改吗? 类似这样的东西哪里可以改?
我想问的还有个一个就是,Virtualbox 这个软件本身的 基础变量,或者环境变量有没有可以修改的地方?
比如下图红框中的有地方改吗? 类似这样的东西哪里可以改?
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 在问个问题,如何修改Virtualbox 的配置文件?
請參閱
P194
You can change the default machine folder by selecting “Preferences” from the “File” menu in the VirtualBox main window. Then, in the window that pops up, click on the “General” tab.
Alternatively, use VBoxManage setproperty machinefolder; see chapter 8.27, VBoxManage setproperty, page 144.
進一步參閱
Virtualbox Version 4.3.6
User Manual
P113 8 VBoxManage
P158 9 Advanced topics
P194 10 Technical background
P194
You can change the default machine folder by selecting “Preferences” from the “File” menu in the VirtualBox main window. Then, in the window that pops up, click on the “General” tab.
Alternatively, use VBoxManage setproperty machinefolder; see chapter 8.27, VBoxManage setproperty, page 144.
進一步參閱
Virtualbox Version 4.3.6
User Manual
P113 8 VBoxManage
P158 9 Advanced topics
P194 10 Technical background
-
- 帖子: 81
- 注册时间: 2013-10-08 16:37
- 系统: windows2008R2
Re: 在问个问题,如何修改Virtualbox 的配置文件?
有那么麻烦吗?GUI界面"全局设置"里就搞定的东西了,需要在命令行操作吗!