Skip to content

Instantly share code, notes, and snippets.

@gauravve
Last active June 11, 2016 09:53
Show Gist options
  • Save gauravve/b5528688f85c9a5a30a7a7a19a334d06 to your computer and use it in GitHub Desktop.
Save gauravve/b5528688f85c9a5a30a7a7a19a334d06 to your computer and use it in GitHub Desktop.
Simple Vagrant file with private network and shell provisioner
Vagrant.configure(2) do |config|
config.vm.define "grafana", autostart: false do |ami|
ami.vm.box = "puppetlabs/centos-7.2-64-nocm"
ami.vm.network "private_network", ip: "192.168.0.20"
ami.vm.network "forwarded_port", guest: 3000, host: 3000
ami.vm.network "forwarded_port", guest: 8083, host: 8083
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment