2020-03-18 18:46:47 -04:00
|
|
|
<!-- Code generated from the comments of the AlicloudDiskDevices struct in builder/alicloud/ecs/image_config.go; DO NOT EDIT MANUALLY -->
|
|
|
|
|
2020-10-12 04:28:25 -04:00
|
|
|
- `system_disk_mapping` (AlicloudDiskDevice) - Image disk mapping for the system disk.
|
|
|
|
See the [disk device configuration](#disk-devices-configuration) section
|
|
|
|
for more information on options.
|
|
|
|
Usage example:
|
|
|
|
|
|
|
|
```json
|
|
|
|
"builders": [{
|
|
|
|
"type":"alicloud-ecs",
|
|
|
|
"system_disk_mapping": {
|
|
|
|
"disk_size": 50,
|
|
|
|
"disk_name": "mydisk"
|
|
|
|
},
|
|
|
|
...
|
|
|
|
}
|
|
|
|
```
|
2020-07-13 06:33:16 -04:00
|
|
|
|
2020-10-12 04:28:25 -04:00
|
|
|
- `image_disk_mappings` ([]AlicloudDiskDevice) - Add one or more data disks to the image.
|
|
|
|
See the [disk device configuration](#disk-devices-configuration) section
|
|
|
|
for more information on options.
|
|
|
|
Usage example:
|
|
|
|
|
|
|
|
```json
|
|
|
|
"builders": [{
|
|
|
|
"type":"alicloud-ecs",
|
|
|
|
"image_disk_mappings": [
|
|
|
|
{
|
|
|
|
"disk_snapshot_id": "someid",
|
|
|
|
"disk_device": "dev/xvdb"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
...
|
|
|
|
}
|
|
|
|
```
|