Advertisement
Guest User

VDD-8.x-1.x-dev-add-more-cpu-cores-to-vbox-vm.patch

a guest
Nov 1st, 2013
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. diff --git a/Vagrantfile b/Vagrantfile
  2. index 48bed7c..331a299 100644
  3. --- a/Vagrantfile
  4. +++ b/Vagrantfile
  5. @@ -16,6 +16,10 @@ Vagrant.configure("2") do |config|
  6. # RAM
  7. vb.customize ["modifyvm", :id, "--memory", vdd_config["memory"]]
  8.  
  9. + # CPU count
  10. + vb.customize ["modifyvm", :id, "--cpus", vdd_config["cpus"]]
  11. + vb.customize ["modifyvm", :id, "--ioapic", "on"]
  12. +
  13. # Synced Folder
  14. config.vm.synced_folder vdd_config["synced_folder"]["host_path"],
  15. vdd_config["synced_folder"]["guest_path"],
  16. diff --git a/config.json b/config.json
  17. index 21a7fd1..95fb15c 100644
  18. --- a/config.json
  19. +++ b/config.json
  20. @@ -1,6 +1,7 @@
  21. {
  22. "ip": "192.168.44.44",
  23. "memory": "1024",
  24. + "cpus": "4",
  25. "synced_folder": {
  26. "host_path": "data/",
  27. "guest_path": "/var/www",
  28. --
  29. 1.7.11.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement