Hello team,
I have been trying to set up an in-house repository for vagrant boxes. However, have comes across some issues.
I am using the packer's vagrant-cloud post-processor for uploading the box file to our Artifactory server hosted in house.
"post-processors": [
[
{
"type": "vagrant",
"output": "ubuntu-16.box",
"only": ["virtualbox"]
},
{
"type": "vagrant-cloud",
"access_token": "champa",
"version": "{{user `image_version`}}",
"box_tag": "ubuntu16"
}
]
The packer process fails with 404 for the following:
Not sure why *box* keyword is added after the actual url due to which the query fails.
There is another problem with access_token.
The documentation says no need for access_token when *vagrant_cloud_url* is hosted in-house but the packer build fails complaining about access_token.