Created
August 10, 2015 23:18
-
-
Save javidjamae/461dbcba20e76f263e38 to your computer and use it in GitHub Desktop.
Vagrantfile for bringing up an Windows / IE virtual server from modern.ie
This file contains hidden or 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 : | |
# Got this file from: https://gist.github.com/andreptb/57e388df5e881937e62a | |
Vagrant.configure(2) do |config| | |
config.vm.box = "win7-ie9" | |
config.vm.box_url = "http://aka.ms/vagrant-win7-ie9" | |
config.vm.boot_timeout = 500 | |
config.vm.network "forwarded_port", guest: 3389, host: 3389, id: "rdp", auto_correct: true | |
config.vm.communicator = "winrm" | |
config.winrm.username = "IEUser" | |
config.winrm.password = "Passw0rd!" | |
config.vm.provider "virtualbox" do |vb| | |
vb.gui = true | |
vb.customize ["modifyvm", :id, "--memory", "1024"] | |
vb.customize ["modifyvm", :id, "--vram", "128"] | |
vb.customize ["modifyvm", :id, "--cpus", "2"] | |
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"] | |
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
vb.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 10000] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment