Skip to content

Instantly share code, notes, and snippets.

@vi7
Created October 12, 2020 06:14
Show Gist options
  • Save vi7/bd2b95488a3da7e509f8b095ae455bb2 to your computer and use it in GitHub Desktop.
Save vi7/bd2b95488a3da7e509f8b095ae455bb2 to your computer and use it in GitHub Desktop.
Vagrantfile with Windows XP for the Need For Speed: Hot Pursuit 2 - Virtualbox 6.0.4
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "dvgamerr/win-xp-sp3"
config.vm.network "public_network"
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = true
vb.memory = "3072"
vb.cpus = 1
vb.customize ["modifyvm", :id, "--vram", "256"]
# If the Guest Additions are installed, this setting enables or disables hardware 3D acceleration
vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
# If the Guest Additions are installed, this setting enables or disables 2D video acceleration
#vb.customize ["modifyvm", :id, "--accelerate2dvideo", "on"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment