Skip to content

Commit

Permalink
fix(Vagrantfile): add RAM config for vmware
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Aug 13, 2024
1 parent af0628d commit 66d73e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ Vagrant.configure("2") do |config|
config.vm.box = "almalinux/9"
config.vm.network "forwarded_port", guest: 3000, host: 3000, host_ip: "localhost"
config.vm.network "forwarded_port", guest: 8080, host: 8080, host_ip: "localhost"

# you need enough RAM for packages to install properly
config.vm.provider "virtualbox" do |vb|
vb.memory = "8192"
vb.memory = "4096"
vb.cpus = "4"
end
config.vm.provider "vmware_desktop" do |v|
v.vmx["memsize"] = "4096"
v.vmx["numvcpus"] = "4"
end

# setup the synced folder and provision the VM
config.vm.synced_folder ".", "/var/www/pterodactyl"
Expand Down

0 comments on commit 66d73e2

Please sign in to comment.