[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 2/4] Add missing exports to allow helpers to use those configurations



From: Otavio Salvador <otavio@ossystems.com.br>

Some variables are used by helpers but do not have defaults for
them. Since the helpers run as another process they do not share the
local variables defined while running the main script hence we need to
export them.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 src/scripts/02defaults.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/scripts/02defaults.sh b/src/scripts/02defaults.sh
index 50dc4b5..49499c9 100644
--- a/src/scripts/02defaults.sh
+++ b/src/scripts/02defaults.sh
@@ -356,4 +356,8 @@ Defaults ()
 	fi
 
 	export GENISOIMAGE
+
+	# Variables that do not have defaults but need to be exported to
+	# allow other helpers to use their values
+	export LIVE_BOOTSTRAP_CONFIG
 }


Reply to: