From 426c61550e57c5cb8d63d5b78686a385e0b86ef0 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Fri, 16 Oct 2020 12:44:05 +0700 Subject: [PATCH] Enforce vagrant plugin versions --- Vagrantfile | 5 ++++- umbrel-dev | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 0911959..4184905 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -23,7 +23,10 @@ TEXT Vagrant.configure(2) do |config| # Install required plugins - config.vagrant.plugins = ["vagrant-vbguest", "vagrant-docker-compose"] + config.vagrant.plugins = { + "vagrant-vbguest" => {"version" => "0.24.0"}, + "vagrant-docker-compose" => {"version" => "1.5.1"}, + } # Setup VM config.vm.box = "debian/buster64" diff --git a/umbrel-dev b/umbrel-dev index b7deae3..6b7673f 100755 --- a/umbrel-dev +++ b/umbrel-dev @@ -107,6 +107,11 @@ if [[ "$command" = "init" ]]; then echo "Creating Vagrantfile..." cp "$(get_script_location)/Vagrantfile" . + echo + vagrant plugin install vagrant-vbguest --plugin-version=0.24.0 + echo + vagrant plugin install vagrant-docker-compose --plugin-version=1.5.1 + echo echo "Cloning container repositories..." repos="getumbrel/umbrel getumbrel/umbrel-dashboard getumbrel/umbrel-manager getumbrel/umbrel-middleware"