Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# hospub - debian 7
config.vm.define "hospub" do |hospub|
hospub.vm.box = "delomos/debian72-x64"
hospub.vm.box_check_update = false
hospub.vm.provider :virtualbox do |vb|
vb.name = "hospub"
vb.memory = 256
vb.cpus = 1
end
hospub.vm.network :private_network, ip: "192.168.50.10"
end
# ubuntu 14.04 LAMP PHP 5.5
config.vm.define "lamp" do |lamp|
lamp.vm.box = "70kft/lamp"
lamp.vm.box_check_update = false
lamp.vm.provider :virtualbox do |vb|
vb.name = "lamp"
vb.memory = 256
vb.cpus = 1
end
lamp.vm.hostname = "lamp"
lamp.vm.network :private_network, ip: "192.168.50.11"
end
# windows 7
config.vm.define "windows7" do |windows7|
windows7.vm.box = "lmayorga1980/windows7-sp1"
windows7.vm.communicator = "winrm"
windows7.vm.box_check_update = false
# windows7.vm.guest = :windows
# windows7.winrm.timeout = 500
# windows7.windows.set_work_network = true
windows7.vm.provider :virtualbox do |vb|
vb.name = "windows7"
vb.memory = 512
vb.cpus = 1
end
windows7.vm.hostname = "windows7"
windows7.vm.network :private_network, ip: "192.168.50.12"
windows7.vm.network "forwarded_port", host: 3389, guest: 3389
# windows7.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.