Skip to content

Instantly share code, notes, and snippets.

@wass3r
Created January 3, 2018 13:33
Show Gist options
  • Select an option

  • Save wass3r/544ba991ad42f72af8df1559a97b2632 to your computer and use it in GitHub Desktop.

Select an option

Save wass3r/544ba991ad42f72af8df1559a97b2632 to your computer and use it in GitHub Desktop.
IE on MacOS
# Download box from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
# or http://www.fitzweekly.com/2016/04/download-windows-virtual-machine-images.html
Vagrant.configure(2) do |config|
config.vm.box = "IE11Win10"
config.vm.box_url = "MSEdge-Win10TH2.box"
config.vm.synced_folder ".", "/vagrant", disabled: true # if not provisioned?
# config.vm.synced_folder "./ExtraFolder", "c:/ExtraFolder", create: false # if provisioned?
config.ssh.insert_key = false
config.ssh.username = "IEUser"
config.ssh.password = "Passw0rd!"
config.vm.provider "virtualbox" do |vb|
mem = `sysctl -n hw.memsize`.to_i / 1024
mem = mem / 1024 / 4
vb.customize ["modifyvm", :id, "--memory", mem]
vb.customize ["modifyvm", :id, "--vram", "64"]
vb.gui = true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment