blob: 8bc9eb8b27af54be5e7f795eca50d0504016dc21 (
plain) (
tree)
|
|
VAGRANTFILE_VERSION = "2"
$provision = <<SCRIPT
sudo apt update
sudo apt install -y curl
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly
cd /vagrant
cargo build
SCRIPT
Vagrant.configure(VAGRANTFILE_VERSION) do |config|
config.vm.box = "bento/ubuntu-17.04-i386"
config.vm.post_up_message = "Hope that you're enjoying Rust in Action!\n-TS McNamara"
config.vm.provision "shell", inline: $provision
end
|