Skip to content

Instantly share code, notes, and snippets.

@Xiradorn
Last active October 6, 2015 13:18
Show Gist options
  • Select an option

  • Save Xiradorn/b68c5f5144b0ad45737e to your computer and use it in GitHub Desktop.

Select an option

Save Xiradorn/b68c5f5144b0ad45737e to your computer and use it in GitHub Desktop.
Vagrantfile - Ubuntu/Trusty32
Vagrant.configure(2) do |config|
config.vm.boot_timeout = 1000
config.vm.graceful_halt_timeout = 200
config.vm.box = "ubuntu/trusty32"
config.vm.box_url = "https://atlas.hashicorp.com/ubuntu/boxes/trusty32"
config.vm.hostname = "darklab"
config.vm.network :forwarded_port, guest: 80, host: 9000, auto_correct: true
config.vm.network :private_network, ip: "192.168.10.10" #, auto_config: false
#config.vm.network :public_network, bridge: "XiLan" #, auto_config: false
# Enable NTFS
config.vm.synced_folder './rsync', '/vagrant/rsync', nfs: true
#config.ssh.username = 'vagrant'
#config.ssh.password = 'vagrant'
# Config Provider
config.vm.provider :virtualbox do |vb|
# Display the VirtualBox GUI when booting the machine
# vb.gui = true
vb.memory = "1024"
vb.cpus = "1"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment