"type": "amazon-ebs",
"ami_block_device_mappings": [ { "device_name": "/dev/xvda", "volume_size": 8, "volume_type": "gp2" } ], "launch_block_device_mappings": [ { "device_name": "/dev/xvdg", "volume_size": 16, "volume_type": "gp2" } ] [...]
"provisioners": [ { "type": "shell", "inline": [ "sudo mkfs -t ext4 /dev/xvdg",
"sudo mkdir /data", "sudo mount /dev/xvdg /data"
] },
[...]
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/f075a42b-ab0b-4e38-a12c-74fa35623a58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
{ "Images": [ { "VirtualizationType": "hvm", "Name": "myimage-1530287803", "Hypervisor": "xen", "EnaSupport": true, "SriovNetSupport": "simple", "ImageId": "ami-64ede6f", "State": "available", "BlockDeviceMappings": [ { "DeviceName": "/dev/xvda", "Ebs": { "Encrypted": false, "DeleteOnTermination": false, "VolumeType": "gp2", "VolumeSize": 8, "SnapshotId": "snap-0a2e067d755b07eff" } }, { "DeviceName": "/dev/xvdg", "Ebs": { "Encrypted": false, "DeleteOnTermination": false, "VolumeType": "gp2", "VolumeSize": 16, "SnapshotId": "snap-03e00acfb11a8d44a" } } ], "Architecture": "x86_64", "ImageLocation": "647700225971/myimage-1530287803", "RootDeviceType": "ebs", "OwnerId": "647700225971", "RootDeviceName": "/dev/xvda", "CreationDate": "2018-06-29T15:59:22.000Z", "Public": false, "ImageType": "machine" } ]}
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/3eb8c2cf-e47a-4c57-80a3-ce95ca322594%40googlegroups.com.