Skip to content

Commit

Permalink
vagrantfile: increase dev box resources (#3204)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ authored Aug 8, 2023
1 parent bf0a4da commit f3259d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ Vagrant.configure("2") do |config|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
vb.customize ["modifyvm", :id, "--vram", "128"]
# Customize the amount of memory on the VM:
vb.memory = "4096"
vb.memory = 6144
vb.cpus = 6
end

nodeconfig.vm.provision "shell", inline: <<-SHELL
Expand All @@ -164,7 +164,7 @@ Vagrant.configure("2") do |config|
wget
curl -sL -o /tmp/go#{GO_VERSION}.linux-amd64.tar.gz https://go.dev/dl/go#{GO_VERSION}.linux-amd64.tar.gz
tar -C /usr/local -xzf /tmp/go#{GO_VERSION}.linux-amd64.tar.gz
echo "alias ll='ls -la'" > /etc/profile.d/ll.sh
echo "alias ll='ls -lah'" > /etc/profile.d/ll.sh
echo 'export PATH=$PATH:/usr/local/go/bin' > /etc/profile.d/go.sh
echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> /etc/profile.d/go.sh
SHELL
Expand Down

0 comments on commit f3259d7

Please sign in to comment.