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 01:28:25 -07: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:
|
2020-12-16 01:35:34 -08:00
|
|
|
|
2020-10-12 01:28:25 -07:00
|
|
|
```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 01:28:25 -07: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:
|
2020-12-16 01:35:34 -08:00
|
|
|
|
2020-10-12 01:28:25 -07:00
|
|
|
```json
|
|
|
|
"builders": [{
|
|
|
|
"type":"alicloud-ecs",
|
|
|
|
"image_disk_mappings": [
|
|
|
|
{
|
|
|
|
"disk_snapshot_id": "someid",
|
|
|
|
"disk_device": "dev/xvdb"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
...
|
|
|
|
}
|
2020-12-16 01:35:34 -08:00
|
|
|
```
|
2021-04-16 11:52:03 +02:00
|
|
|
|
|
|
|
<!-- End of code generated from the comments of the AlicloudDiskDevices struct in builder/alicloud/ecs/image_config.go; -->
|