Created
November 8, 2017 18:48
-
-
Save lexruee/9c6506ec55fef7e940b6f3d309cfabd0 to your computer and use it in GitHub Desktop.
Vagrantfile to create a Ubuntu 17.10 vm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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