Skip to content

Instantly share code, notes, and snippets.

@ethankhall
Last active March 1, 2018 17:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethankhall/dbd5abeb7971ee39b408 to your computer and use it in GitHub Desktop.
Save ethankhall/dbd5abeb7971ee39b408 to your computer and use it in GitHub Desktop.
Artifactory Vagrant VM
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "boxcutter/centos71"
config.vm.network "private_network", ip: "10.1.1.123"
config.vm.provision "shell", inline: "sudo yum install -y https://bintray.com/artifact/download/jfrog/artifactory-rpms/artifactory-3.6.0.rpm"
config.vm.provision "shell", inline: "sudo yum install -y java"
config.vm.provision "shell", inline: "sudo systemctl start artifactory"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment