I also need this. Anyone got this working?

On Wednesday, January 31, 2018 at 6:28:19 AM UTC+5:30, Alvaro Miranda 
Aguilera wrote:
>
> as is packer just the the name as prefix
>
> the process builds then export, however you could use the names you 
> require when you provision the vm
>
> i havent used the vmx to override this, so i can't comment on that
>
> thanks
> alvaro
>
> On Tue, Jan 30, 2018 at 5:19 PM, Matt Hickok <[email protected] 
> <javascript:>> wrote:
>
>> So that makes sense. If I want the first disk to be named 'os' and the 
>> second disk to be named 'data', would I need to set the disknames then? Or 
>> is there a different way to do it? I have a feeling I need to modify the 
>> vmx data.
>>
>> On Tuesday, January 30, 2018 at 2:13:47 AM UTC-6, Alvaro Miranda Aguilera 
>> wrote:
>>>
>>> can you test?
>>>
>>> vmdk_name 
>>> <https://www.packer.io/docs/builders/vmware-iso.html#vmdk_name> (string) 
>>> - The filename of the virtual disk that'll be created, without the 
>>> extension. This defaults to "packer".
>>>
>>> seems it will use the disk name
>>>
>>>
>>> https://github.com/hashicorp/packer/blob/7f4112ba229309cfc0ebaa10ded2abdfaf1b22c8/builder/vmware/iso/step_create_vmx.go#L243-L247
>>>
>>>
>>>
>>> On Tue, Jan 30, 2018 at 1:07 AM, Matt Hickok <[email protected]> 
>>> wrote:
>>>
>>>> Hello, 
>>>>
>>>> If I am producing multiple VMDKs during a vmware-iso build, is there a 
>>>> way to name both disks? There is a 'vmdk_name' field but I don't know how 
>>>> this works with multiple disks. Or would I need to edit the vmx data?
>>>>
>>>> Thanks!
>>>>
>>>> -- 
>>>> 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/e979e80f-698b-4c0f-beb9-311338234ec4%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/packer-tool/e979e80f-698b-4c0f-beb9-311338234ec4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Alvaro
>>>
>>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/b169077a-caf2-4b92-8f98-14e5ab4ab928%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/b169077a-caf2-4b92-8f98-14e5ab4ab928%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Alvaro
>
>
-- 








**************Confidentiality Notice****************


This 
electronic message contains information from CyberSponse, Inc. which may be 
confidential and is intended solely for the use of the addressee listed 
above. If you are neither the intended recipient nor the employee or agent 
responsible for delivering this electronic message to the intended 
recipient, you are hereby notified that any disclosure, copying, 
distribution or the use of the content of this electronic message is 
strictly prohibited. If you have received this electronic message in error, 
please immediately notify us by replying to this message and delete the 
original message.

-- 
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/27af307e-4ad7-4e7c-b64e-a8ed0266f203%40googlegroups.com.

Reply via email to