Created
July 4, 2015 21:45
-
-
Save PatOShea/2277e82dcecfb274d87b to your computer and use it in GitHub Desktop.
Basic Salt Vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "PatOShea/win2012R2-salt" | |
config.vm.hostname = "win2012R2-salt" | |
config.vm.guest = "windows" | |
# This important for salt provisioner. It's used in the provisioner code extensively | |
config.vm.communicator = "winrm" | |
# Varies based on your local system | |
config.vm.synced_folder "../../PatOShea", "/vagrant-salt" | |
config.vm.provider "virtualbox" do |vb| | |
# Display the VirtualBox GUI when booting the machine | |
vb.gui = true | |
# Customize the amount of memory on the VM: | |
vb.memory = "2048" | |
end | |
# Use all the defaults: | |
config.vm.provision :salt do |salt| | |
# Gives more output, such as from the bootstrap script | |
salt.verbose = true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment