Disks
The virtual machine's disks.
Disk
A disk attached to the virtual machine.
- Download disk image file
- Disk image file - Specify the file that contains the disk image.
Properties
Disk type
| Option | Label | Description |
|---|---|---|
download | Download disk image | Download and use a disk image. |
file | Disk image file | A disk image file to use. |
filesystem | Filesystem | Use an existing filesystem. |
- Data type: string select
- Default:
download - Configuration
- Required
CLI: (cli)> config compute vm <key> disk <index> type
Disk bus
The emulated bus to attach the virtual machine's disk.
| Option | Label | Description |
|---|---|---|
virtio | Virtio | Connect the disk using the virtio disk driver. |
ide | IDE | COnnect the disk as an IDE interface. |
- Data type: string select
- Default:
virtio - Configuration
- Required
CLI: (cli)> config compute vm <key> disk <index> bus
Media type
The media type for this disk.
| Option | Label | Description |
|---|---|---|
disk | Hard disk | Disk is a hard disk device. |
cdrom | CD-ROM | Disk is a CD-ROM device. |
- Data type: string select
- Default:
disk - Configuration
- Required
CLI: (cli)> config compute vm <key> disk <index> media
Disk tag
A name that the guest operating system must use when mounting the disk with the virtiofs driver.
- Data type: string
- Configuration
- Required
CLI: (cli)> config compute vm <key> disk <index> tag
Filesystem
- Data type: reference path
- References instances of: Storage / Filesystems
- Configuration
- Required
CLI: (cli)> config compute vm <key> disk <index> filesystem
