@digitaldrummerj
c:\vagrantboxes\linux
c:\vagrantboxes\windows
Vagrant.configure(2) do |config|
.....
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.cpus = 2
vb.name = "Workshop - Linux"
end
...Provisioning
end
export DEBIAN_FRONTEND=noninteractive
apt-get install git -y > /dev/null
Vagrant.configure(2) do |config|
.....Virtualbox
config.vm.provision :shell,
path: "main.sh"
end
Vagrant.configure(2) do |config|
config.vm.box = "opentable/win-2012r2-standard-amd64-nocm"
config.vm.boot_timeout = 600
config.vm.communicator = "winrm"
....Virtualbox Config
....Provisioning
end
Vagrant.configure(2) do |config|
.....
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "4096"
vb.cpus = 2
vb.name = "Workshop - Windows"
vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
end
...Provisioning
end
@powershell -NoProfile -ExecutionPolicy Bypass -File
"%systemdrive%\vagrant\InstallChocolatey.ps1"
$ChocoInstallPath = "$env:SystemDrive\ProgramData\Chocolatey\bin"
if (!(Test-Path $ChocoInstallPath)) {
iex ((new-object net.webclient)
.DownloadString('https://chocolatey.org/install.ps1'))
}
Vagrant.configure(2) do |config|
.....Virtualbox
config.vm.provision :shell,
path: "main.cmd"
end
@digitaldrummerj - digitaldrummerj@gmail.com
http://digitaldrummerj.me