Adding disks to an OVF with cot add-disk¶
Synopsis¶
cot add-disk --help
cot <opts> add-disk DISK_IMAGE PACKAGE [-o OUTPUT] [-f FILE_ID]
[-t {harddisk,cdrom}] [-c {ide,sata,scsi}]
[-s SUBTYPE] [-a ADDRESS] [-d DESCRIPTION]
[-n DISKNAME]
Description¶
Add or replace a disk image in the specified OVF or OVA. If the specified disk image, controller/address, file-id, and/or instance match an existing entry in the OVF, will replace the existing disk with the provided file (prompting for confirmation if --force was not set); otherwise, will create a new disk entry.
Options¶
- DISK_IMAGE
- Disk image file to add to the package
- PACKAGE
- OVF descriptor or OVA file to edit
General options¶
| -h, --help | Show this help message and exit |
| -o OUTPUT, --output OUTPUT | |
| Name/path of new OVF/OVA package to create instead of updating the existing OVF | |
Descriptive options¶
| -d DESCRIPTION, --description DESCRIPTION | |
| Description of this disk (optional) | |
| -n DISKNAME, --name DISKNAME | |
| Name of this disk (default: "Hard disk #" or "CD-ROM #" as appropriate) | |