Vagrantfile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. Vagrant.configure(2) do |config|
  4. config.vm.box = "dragon788/arch-ala-elasticdog"
  5. # This section allows you to customize the Virtualbox VM
  6. # settings, ie showing the GUI or upping the memory
  7. # or cores if desired
  8. config.vm.provider "virtualbox" do |vb|
  9. # Hide the VirtualBox GUI when booting the machine
  10. vb.gui = false
  11. # Customize the amount of memory on the VM:
  12. vb.memory = "512"
  13. end
  14. # This section allows you to customize the VMware VM
  15. # settings, ie showing the GUI or upping the memory
  16. # or cores if desired
  17. config.vm.provider "vmware" do |vmw|
  18. # Hide the VMware GUI when booting the machine
  19. vmw.gui = false
  20. # Customize the amount of memory on the VM:
  21. vmw.memory = "512"
  22. end
  23. # This ensures the system always gets the latest updates when powered on
  24. # If this causes issues you can run a 'vagrant destroy' and then
  25. # comment out these three lines and run 'vagrant up' to get a working
  26. # non-updated box and then attempt to troubleshoot after it has started
  27. #
  28. config.vm.provision "shell", run: "always", inline: <<-SHELL
  29. sudo pacman -Syu --needed --noconfirm
  30. SHELL
  31. # Allow user to speed up package installs using powerpill/wget tweaks
  32. # Always run the pacman mirror update script if possible when vagrant comes up
  33. # This will ensure that users never get stalled on a horribly slow mirror
  34. config.vm.provision "shell", path: "avr_setup.sh"
  35. config.vm.post_up_message = """Change directory to the keyboard you wish to program and modify your layout, then run 'make clean' and 'make' to compile the .eep and .hex files."""
  36. end