Skip to content

Instantly share code, notes, and snippets.

@vinyar
Last active August 29, 2015 14:09
Show Gist options
  • Save vinyar/38490089f3ea4b9405e3 to your computer and use it in GitHub Desktop.
Save vinyar/38490089f3ea4b9405e3 to your computer and use it in GitHub Desktop.
Vagrant blob for blog
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "alex_rocks"
# config.vm.synced_folder "../../stuff_for_windows", "c:/mount_point"
config.vm.guest = :windows
# New veature in vagrant 1.6. Makes windows much easier.
config.vm.communicator = "winrm"
config.windows.halt_timeout = 25
config.winrm.username = "vagrant"
config.winrm.password = "vagrant"
config.winrm.max_tries = 30
# Example for VirtualBox:
config.vm.provider :virtualbox do |vb|
vb.gui = true
# vb.name = "alex_rocks"
vb.customize ["modifyvm", :id, "--memory", "1536",'--clipboard', 'bidirectional' ]
end
# config.vm.provision :chef_solo do |chef|
# chef.cookbooks_path = "."
# chef.add_recipe "win_lang_pack"
# chef.log_level = :debug
# end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment