Skip to content

Instantly share code, notes, and snippets.

@jnyryan
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save jnyryan/67c6ef727e495934f806 to your computer and use it in GitHub Desktop.

Select an option

Save jnyryan/67c6ef727e495934f806 to your computer and use it in GitHub Desktop.
Windows Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure("2") do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "win7-ie11"
#config.vm.box_url = "http://aka.ms/vagrant-win7-ie11"
# Use VBoxManage to customize the VM. For example to change memory:
config.vm.guest = :windows
config.vm.boot_timeout = 1
config.vm.communicator = "winrm"
config.vm.network :forwarded_port, host: 3389, guest: 3389, auto_correct: true
config.vm.provider "virtualbox" do |vm|
vm.gui = true
vm.cpus = 2
vm.memory = 2048
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment