From 435ad388b883c9e8975c961436151bd1134676b6 Mon Sep 17 00:00:00 2001 From: Tom J Nowell Date: Fri, 19 Jul 2024 15:38:36 +0100 Subject: [PATCH] check for parallels instead of docker --- Vagrantfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index d1f7dc1cb..977eddee1 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -45,6 +45,7 @@ def vvv_is_docker_present() if `docker version` return true end + return false end def vvv_is_parallels_present() @@ -230,10 +231,10 @@ defaults['provider'] = 'virtualbox' # if Arm default to docker then parallels if Etc.uname[:version].include? 'ARM64' - if vvv_is_docker_present() - defaults['provider'] = 'docker' - else + if vvv_is_parallels_present() defaults['provider'] = 'parallels' + else + defaults['provider'] = 'docker' end end