From c4c8f1734c1e86f748c96b3987917fe88d45e9b2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 11 Apr 2021 14:56:09 +0200 Subject: Harmonizing initial variables in curl and debconf container create scripts for consistency. Signed-off-by: Daniel Baumann --- share/scripts/curl | 4 +++- share/scripts/debconf | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'share/scripts') diff --git a/share/scripts/curl b/share/scripts/curl index 15f64f9..bc813aa 100755 --- a/share/scripts/curl +++ b/share/scripts/curl @@ -22,13 +22,15 @@ set -e PROJECT="open-infrastructure" SOFTWARE="compute-tools" PROGRAM="container" -SCRIPT="${0}" HOOKS="/etc/${SOFTWARE}/hooks" KEYS="/etc/${SOFTWARE}/keys" MACHINES="/var/lib/machines" CACHE="/var/cache/${PROGRAM}/system" +SCRIPT="${0}" +export SCRIPT + Parameters () { GETOPT_LONGOPTIONS="bind:,bind-ro:,script:,name:,architecture:,clean,password:,server:,setup:,system:," diff --git a/share/scripts/debconf b/share/scripts/debconf index 0eb096f..3f3b7b7 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -22,13 +22,14 @@ set -e PROJECT="open-infrastructure" SOFTWARE="compute-tools" PROGRAM="container" -SCRIPT="${0}" -export SCRIPT CONFIG="/etc/${SOFTWARE}/config" HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" +SCRIPT="${0}" +export SCRIPT + Parameters () { GETOPT_LONGOPTIONS="bind:,bind-ro:,script:,name:,preseed-file:" -- cgit v1.2.3