Skip to content

Instantly share code, notes, and snippets.

@h0jeZvgoxFepBQ2C
Created April 30, 2015 12:37
Show Gist options
  • Save h0jeZvgoxFepBQ2C/6ec9b1005ec8820be3cb to your computer and use it in GitHub Desktop.
Save h0jeZvgoxFepBQ2C/6ec9b1005ec8820be3cb to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
Vagrant.configure(2) do |config|
config.vm.box = "precise64"
config.vm.hostname = "minion1"
config.vm.network :private_network, ip: "192.168.33.10"
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
config.vm.provision :salt do |salt|
salt.run_highstate = true
salt.minion_config = "./minion1.conf"
salt.minion_key = "./minion1.pem"
salt.minion_pub = "./minion1.pub"
salt.colorize = true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment