1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00
eoli3n-dotfiles/vagrant/archlinux/Vagrantfile
2017-12-17 00:24:47 +01:00

22 lines
528 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "terrywang/archlinux"
config.vm.provision "shell", inline: <<-SHELL
pacman -Syu --noconfirm
pacman -S ansible --noconfirm
pacman -R cowsay --noconfirm
SHELL
$script = <<-SCRIPT
git clone --recursive https://github.com/eoli3n/dotfiles
cd dotfiles
git checkout dev
git submodule update --init --recursive
./install.sh desktop
SCRIPT
config.vm.provision "shell", inline: $script, privileged: false
end