Provision Vagrant Boxes

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

To provision a Vagrant box:

Run this command:

vagrant box add "https://[JFrogPlatformURL]/artifactory/api/vagrant/<REPO_NAME>/<BOX_NAME>"

Where:

  • [JFrogPlatformURL]: The URL of your JPD

  • <REPO_NAME>: The name of the repository where the box is located

  • <BOX_NAME>: The name of the box you want to provision

For example:

vagrant box add "https://company.jfrog.io/artifactory/api/vagrant/vagrant-local/precise64"

Tip

You can also use parameters like --provider and --box-version, or any custom properties you added, to identify a specific version. For more information, see Using Properties in Deployment and Resolution.

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.