summaryrefslogtreecommitdiffstats
path: root/share/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:56:09 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:56:09 +0000
commitc4c8f1734c1e86f748c96b3987917fe88d45e9b2 (patch)
treefb9d2aed040086eb47b9a70b06a5d03157fe6a2d /share/scripts
parentMaking hook to git-pull debconf files work recursively. (diff)
downloadcompute-tools-c4c8f1734c1e86f748c96b3987917fe88d45e9b2.tar.xz
compute-tools-c4c8f1734c1e86f748c96b3987917fe88d45e9b2.zip
Harmonizing initial variables in curl and debconf container create scripts for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/curl4
-rwxr-xr-xshare/scripts/debconf5
2 files changed, 6 insertions, 3 deletions
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:"