Op donderdag 14 mei 2020 11:38:18 UTC+2 schreef TheTube:
>
>
>
> Op donderdag 14 mei 2020 10:07:14 UTC+2 schreef TheTube:
>>
>>
>>
>> Op donderdag 14 mei 2020 03:24:39 UTC+2 schreef TheTube:
>>>
>>>
>>>
>>> If I validate packer says:
>>>
>>> Errors validating build 'vmware-iso'. 2 error(s) occurred:
>>>
>>> * access_token must be set if vagrant_cloud_url has not been overriden
>>> * Failed to verify authentication token: 401 Unauthorized
>>>
>>> I don´t know what it means ¨access_token must be set.¨
>>> this is the  cloud_token which is filled from the env variabele
>>> VAGRANT_CLOUD_TOKEN
>>>
>>> Any ideaś how i can do this better ?
>>>
>>> =========================================================
>>>
>>
>> While cycling trough the answers of this group maybe I am missing some 
>> brackets ....  
>>
>> "post-processors": [
>>     {
>>       "type": "shell-local",
>>       "script": "create-cloudbox.sh"    
>>     },
>>     {
>>       "output": "{{ user `build_directory` }}/{{user 
>> `box_basename`}}.{{.Provider}}.box",
>>       "type": "vagrant"
>>     },
>>     {
>>       "type": "vagrant-cloud",
>>       "box_tag": "username/nameofmybox",
>>       "access_token": "{{user `cloud_token`}}",
>>       "version": "{{user `version`}}"
>>     }
>>   ],
>>
>>
>>
>> ======================================================================================================
>>
> HERE IS THE POST WITH THE BRACKETS. 
>
>>  
>>
> https://groups.google.com/d/msg/packer-tool/zqqiiqg_ODY/OX7TcyLeAwAJ
>
> ========================================================================================================
>
> So it seems that I don have to precreate the box through the webinterface 
> or have to use the API ....
>
>
>
>
>
>  
>

-- 
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/54003453-7e48-4280-b7a2-3c78d4e7f96d%40googlegroups.com.

Reply via email to