Deploy Vagrant Boxes

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

To deploy Vagrant boxes:

Run the following command:

curl -L -u<USERNAME>:<AUTH> -T <PATH_TO_FILE> "https://[JFrogPlatformURL]/artifactory/<REPO_NAME>/<BOX_PATH>;box_name=<NAME>;box_provider=<PROVIDER>;box_version=<VERSION>"

Where:

  • <USERNAME>: Your Artifactory username

  • <AUTH>: Your Artifactory identity token

  • <PATH_TO_FILE>: The path to the .box file on your local machine

  • [JFrogPlatformURL]: The URL of your JPD

  • <REPO_NAME>: The name of the target repository

  • <BOX_PATH>: The path to the .box file within the repository structure

  • <NAME>: The name of the box

  • <PROVIDER>: The Vagrant box provider. For more information, see Providers

  • <VERSION>: The Vagrant box version. For more information, see Box Versioning

For example:

curl -L -ujeffry:51HnvD0A1g2q3n4b5F6g7H8j9K0l1m2N3o4P5q6R7s8T9u0V1w2X3y4 -T /home/jeffry/Downloads/precise64-virtualbox-1.0.0.box "https://company.jfrog.io/artifactory/vagrant-local/precise64-virtualbox-1.0.0.box;box_name=precise64;box_provider=virtualbox;box_version=1.0.0"

Note

You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.