Vagrantfile 560 B

12345678910111213141516171819
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. Vagrant.configure("2") do |config|
  4. config.vm.box = "ubuntu/xenial64"
  5. config.vm.provider "virtualbox" do |vb|
  6. vb.name = "CS349"
  7. vb.gui = true
  8. vb.memory = "2048"
  9. end
  10. config.vm.synced_folder "assignments/", "/home/ubuntu/cs349/assignments"
  11. config.vm.synced_folder "examples/", "/home/ubuntu/cs349/examples"
  12. config.vm.provision "shell", inline: <<-SHELL
  13. apt-get -y update
  14. apt-get -y install lubuntu-desktop openjdk-8-jdk g++ libx11-dev zip git
  15. passwd -d -u ubuntu
  16. reboot
  17. SHELL
  18. end