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 ? -- 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/f341c731-d0e7-4475-99f3-78e192665829%40googlegroups.com.
#!/bin/bash curl \ --header "Content-Type: application/json" \ --header "Authorization: Bearer $VAGRANT_CLOUD_TOKEN" \ https://app.vagrantup.com/api/v1/boxes \ --data ' { "box": { "username": "myusername", "name": "test", "short_description": "My dev box", "description": "Testbox to include scripts", "is_private": false } } '
ubuntu-20.04-amd64-redacted.json
Description: application/json
