From d1c4de3d2923cb887864440466cdf2858d659714 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Mon, 2 Nov 2020 19:32:28 +0100 Subject: [PATCH] Vagrantfile: Stop processing in case of errors If something in the provisioning of the vagrant virtual machine goes wrong the developer might not notice (the creation log is very long), but the virtual machine will be more or less subtly broken. Instead, halting on errros makes problems immediately apparent. Link: https://github.com/ValveSoftware/Proton/pull/4343 --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index 6f871546..e684dc38 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -65,6 +65,7 @@ Vagrant.configure(2) do |config| debian10.vm.synced_folder ".", "/home/vagrant/proton", id: "proton", type: "rsync", rsync__exclude: ["vagrant_share"] debian10.vm.provision "shell", privileged: "true", inline: <<-SHELL + set -e #install docker and steam-runtime dependencies dpkg --add-architecture i386 apt-get update