I'm trying to get Packer (1.5.5) to deploy multiple disks for a specialized 
(USGCB compliant) template and I need it to have four separate disks. I'm 
using the vsphere-iso builder. The "disk_size" parameter deploys the root 
drive fine. I found the 'storage' parameter which I think is used to deploy 
the other disks...

*storage ([]DiskConfig) - A collection of one or more disks to be 
provisioned along with the VM*

But I can't seem to figure out the format that the data needs to be in - in 
the json file. I tried...

*"storage": [*
*   {*
*   "storage[0]": "20673",*
*   "storage[1]": "16384",*
*   "storage[2]": "4096"*
*   }*
* ]*

and

*"storage": [*
*   {*
*   "20673",*
*   "16384",*
*   "4096"*
*   }*
* ]*

but none of those worked. I can't find anything in the vsphere-iso builder 
documentation about DiskConfig either.

Thanks,
/Raj W.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/8bd4caa8-a3ff-4585-8cb4-cbe789380f17%40googlegroups.com.

Reply via email to