From d6445eb0befd2fd5bbba54572619f3bab454dfdd Mon Sep 17 00:00:00 2001 From: fox Date: Fri, 9 Dec 2022 22:41:54 -0600 Subject: [PATCH] WIP vagrant init --- Vagrantfile | 163 ++++++++++++++++++---------------------------------- 1 file changed, 57 insertions(+), 106 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 0d44b4d230..84eac946fe 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,137 +1,88 @@ # -*- mode: ruby -*- # vi: set ft=ruby : -ENV["PORT"] ||= "3000" +REQUIRED_PLUGINS = %w(vagrant-libvirt) +exit unless REQUIRED_PLUGINS.all? do |plugin| + Vagrant.has_plugin?(plugin) || ( + puts "The #{plugin} plugin is required. Please install it with:" + puts "$ vagrant plugin install #{plugin}" + false + ) +end $provision = <