4 Vagrant.configure(2) do |config|
\r
5 config.vm.box = "dragon788/arch-ala-elasticdog"
\r
7 # This section allows you to customize the Virtualbox VM
\r
8 # settings, ie showing the GUI or upping the memory
\r
9 # or cores if desired
\r
10 config.vm.provider "virtualbox" do |vb|
\r
11 # Hide the VirtualBox GUI when booting the machine
\r
14 # Customize the amount of memory on the VM:
\r
18 # This section allows you to customize the VMware VM
\r
19 # settings, ie showing the GUI or upping the memory
\r
20 # or cores if desired
\r
21 config.vm.provider "vmware" do |vmw|
\r
22 # Hide the VMware GUI when booting the machine
\r
25 # Customize the amount of memory on the VM:
\r
29 # This ensures the system always gets the latest updates when powered on
\r
30 # If this causes issues you can run a 'vagrant destroy' and then
\r
31 # comment out these three lines and run 'vagrant up' to get a working
\r
32 # non-updated box and then attempt to troubleshoot after it has started
\r
34 config.vm.provision "shell", run: "always", inline: <<-SHELL
\r
35 sudo pacman -Syu --needed --noconfirm
\r
38 # Allow user to speed up package installs using powerpill/wget tweaks
\r
39 # Always run the pacman mirror update script if possible when vagrant comes up
\r
40 # This will ensure that users never get stalled on a horribly slow mirror
\r
42 config.vm.provision "shell", path: "avr_setup.sh"
\r
44 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."""
\r