Up CPU/Memory for Vagrant

This commit is contained in:
BJ Dierkes 2018-08-20 22:39:08 -05:00
parent 892a94d82c
commit e9113dd526
3 changed files with 13 additions and 8 deletions

View File

@ -56,7 +56,7 @@ The following creates all required docker containers, and launches an ASH shell
```
$ make dev
|> cement <| app #
|> cement <| src #
```
The above is the equivalent of running:

12
Vagrantfile vendored
View File

@ -25,7 +25,7 @@ Vagrant.configure("2") do |config|
end
config.vm.define "windows" do |this|
this.vm.box = "senglin/win-10-enterprise-vs2015community"
this.vm.box = "trueability/windows-server-2012-r2"
this.vm.hostname = "windows"
# this.vm.provision "shell", path: "scripts/vagrant/bootstrap.ps1"
end
@ -37,20 +37,20 @@ Vagrant.configure("2") do |config|
end
config.vm.define "windows-server-2012-r2" do |this|
this.vm.box = "opentable/win-2012r2-standard-amd64-nocm"
this.vm.box = "trueability/windows-server-2012-r2"
this.vm.hostname = "windows"
# this.vm.provision "shell", path: "scripts/vagrant/bootstrap.ps1"
end
config.vm.provider "virtualbox" do |v|
v.memory = "2048"
v.cpus = "1"
v.memory = "4192"
v.cpus = "4"
v.gui = true
end
config.vm.provider "vmware_desktop" do |v|
v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "1"
v.vmx["memsize"] = "4192"
v.vmx["numvcpus"] = "4"
v.gui = true
end
end

View File

@ -82,6 +82,9 @@ Function Do-Python {
}
Function Do-Misc {
Write-Host 'Installing Microsoft Visual C++ Build Tools'
choco install -y microsoft-visual-cpp-build-tools
Write-Host 'Installing Make'
choco install -y make
@ -93,6 +96,7 @@ Function Do-Misc {
}
# Function Test-RegistryValue {
# param(
# [Alias("RegistryPath")]
@ -159,8 +163,9 @@ Function Do-Misc {
# Do-WinRM
Do-Chocolatey
Do-Google-Chrome
Do-Python
Do-Misc
Do-Python
# Do-UAC
Clear-History