diff options
-rwxr-xr-x | share/scripts/curl | 4 | ||||
-rwxr-xr-x | share/scripts/debconf | 5 |
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:" |