Yes I did, setting disk_type_id to the numeric values causes the packer build to fail. However, setting it to "thin" lead to the build to proceed, however the disk is thick provisioned eager zeroed
On Thu, Aug 29, 2019, 4:14 PM Rickard von Essen <[email protected]> wrote: > Have you looked at > https://packer.io/docs/builders/vmware-iso.html#disk_type_id ? > > On Thu, Aug 29, 2019, 11:33 Pearl D'Silva <[email protected]> wrote: > >> I am trying to enable thin provisioning for the disk by using the >> following: "disk_type_id": "thin", However, on vCenter, when the VM is >> being provisioned, I notice that the hard disk type is set to "Thick >> Provision Eager Zeroed". Any pointers on what could be causing this issue >> would be really helpful. >> >> The partitioning recipe in the preseed file is as follows: >> d-i partman-auto/expert_recipe string \ >> boot-root :: \ >> 1 1 1 free method{ biosgrub } . \ >> 250 250 250 ext2 \ >> $primary{ } $bootable{ } \ >> method{ format } format{ } \ >> use_filesystem{ } filesystem{ ext2 } \ >> mountpoint{ /boot } \ >> . \ >> 500 180000 180000 ext4 \ >> lv_name{ root } \ >> method{ lvm } format{ } \ >> use_filesystem{ } filesystem{ ext4 } \ >> mountpoint{ / } \ >> $lvmok{ } \ >> . \ >> 500 500000 500000 xfs \ >> lv_name{ data } \ >> method{ lvm } format{ } \ >> use_filesystem{ } filesystem{ xfs } \ >> mountpoint{ /data } \ >> $lvmok{ } \ >> . >> >> >> -- >> 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/0f5b9b82-4cba-4e8c-81c9-5bfa2e803119%40googlegroups.com >> <https://groups.google.com/d/msgid/packer-tool/0f5b9b82-4cba-4e8c-81c9-5bfa2e803119%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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/CALz9Rt_4_KL_L%2BaR%3DwEz3magJ5tLwouwmt%2Bt1Z%2ByWBcy1W3%2B2Q%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CALz9Rt_4_KL_L%2BaR%3DwEz3magJ5tLwouwmt%2Bt1Z%2ByWBcy1W3%2B2Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAA5LV_ayh%2BCaFOvxq1Cn2shT-SxeiQVk1coazLYPBVr%2BABc%3D9g%40mail.gmail.com.
