Linux command
vboxmanage-clonevm 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Clone VM
vboxmanage clonevm [vmname] --name [newname]
Clone with full clone
vboxmanage clonevm [vmname] --mode all --name [newname]
Clone and register
vboxmanage clonevm [vmname] --name [newname] --register
说明
vboxmanage clonevm creates a copy of an existing virtual machine. Supports full clones (independent) and linked clones (sharing base disk). Useful for creating test environments from templates.
参数
- --name _name_
- Name for cloned VM.
- --mode _mode_
- Clone mode (machine, machinechildren, all).
- --register
- Register clone with VirtualBox.
- --basefolder _path_
- Clone to specified folder.
- --snapshot _name_
- Clone from snapshot.
FAQ
What is the vboxmanage-clonevm command used for?
vboxmanage clonevm creates a copy of an existing virtual machine. Supports full clones (independent) and linked clones (sharing base disk). Useful for creating test environments from templates.
How do I run a basic vboxmanage-clonevm example?
Run `vboxmanage clonevm [vmname] --name [newname]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --name _name_ do in vboxmanage-clonevm?
Name for cloned VM.