Skip to content

Instantly share code, notes, and snippets.

@lexruee
Created November 8, 2017 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lexruee/9c6506ec55fef7e940b6f3d309cfabd0 to your computer and use it in GitHub Desktop.
Save lexruee/9c6506ec55fef7e940b6f3d309cfabd0 to your computer and use it in GitHub Desktop.
Vagrantfile to create a Ubuntu 17.10 vm
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/artful64"
config.vm.provider 'virtualbox' do |v|
v.gui = true
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update -y
apt-get dist-upgrade -y
apt-get install -y git make
apt-get install -y gnome-session gdm3 nautilus gnome-terminal
apt-get install -y gnome-shell-extensions gnome-menus gnome-tweak-tool
su -c 'cd /home/vagrant; rm -rf Arc-Menu; git clone https://github.com/LinxGem33/Arc-Menu; cd Arc-Menu; make disable; make install; make enable' vagrant
reboot
SHELL
end
# start the vm
vagrant up
# install gnome3 & arc-menu
vagrant provision
# ssh into the vm
vagrant ssh
# stop the vm
vagrant halt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment