From b2414c06a37d892a7f0f57db3af7808c62f4ec88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Sun, 27 Sep 2020 16:01:54 -0300 Subject: [PATCH] fixes #16: lock drupal-vm box to a tested version --- Vagrantfile.local | 4 ++++ config/config.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Vagrantfile.local b/Vagrantfile.local index 92a7054d..c6484bc3 100644 --- a/Vagrantfile.local +++ b/Vagrantfile.local @@ -16,3 +16,7 @@ if Vagrant::Util::Platform.wsl? || (Vagrant::Util::Platform.windows? && !Vagrant config.vm.synced_folders[path][:mount_options] = ['dmode=775','fmode=764'] end end + +if vconfig['vagrant_box_version'] + config.vm.box_version = vconfig['vagrant_box_version'] +end diff --git a/config/config.yml b/config/config.yml index 26638f94..708b7cd2 100644 --- a/config/config.yml +++ b/config/config.yml @@ -3,6 +3,9 @@ # vagrant.config.yml. That way when Drupal VM updates are brought in, this file # can be overriden without manual inspection. +vagrant_box: geerlingguy/drupal-vm +vagrant_box_version: 2.0.9 + # Use DHCP assigned IPs with vagrant-hostmanager # Note: requires vagrant-vbguest to be disabled in Vagrantfile.local vagrant_ip: dhcp