From 479f4128db25ddce713eb1700b999a643ec55f33 Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Wed, 1 Apr 2020 12:28:57 +0200 Subject: [PATCH] vagrant: remove pre variables file Removed pre variables file from ubuntu. Closes #63. Signed-off-by: Alexander Trost --- vagrantfiles/Vagrantfile | 3 --- vagrantfiles/Vagrantfile_vars | 2 +- vagrantfiles/ubuntu/common | 24 ++++++++++++++++++++++++ vagrantfiles/ubuntu/pre | 23 ----------------------- 4 files changed, 25 insertions(+), 27 deletions(-) delete mode 100644 vagrantfiles/ubuntu/pre diff --git a/vagrantfiles/Vagrantfile b/vagrantfiles/Vagrantfile index 8e8d2b6..0990af9 100644 --- a/vagrantfiles/Vagrantfile +++ b/vagrantfiles/Vagrantfile @@ -9,9 +9,6 @@ VAGRANT_DEFAULT_PROVIDER = ENV['VAGRANT_DEFAULT_PROVIDER'] || 'virtualbox'.freez # Vagrantfile OS set to use BOX_OS = ENV['BOX_OS'] || 'fedora'.freeze -$osprefile = File.expand_path("../#{BOX_OS}/pre", __FILE__) -load $osprefile if File.exist?($osprefile) - # Load the Vagrantfile_vars file $vagrantfilecommon = File.expand_path('../Vagrantfile_vars', __FILE__) load $vagrantfilecommon diff --git a/vagrantfiles/Vagrantfile_vars b/vagrantfiles/Vagrantfile_vars index 568c6d6..9dcdb57 100644 --- a/vagrantfiles/Vagrantfile_vars +++ b/vagrantfiles/Vagrantfile_vars @@ -60,7 +60,7 @@ $storagecontroller = 'k8svmSATAController' $storagecontrollerneedstobecreated = true # Common scripts -$osPrepareScript = "" +$osPrepareScript = "echo OS PREPARE SCRIPT EMPTY." $prepareScript = <