From ec8255b378751dca48bc839e8751cea5bd339921 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 11 Apr 2021 14:16:14 +0200 Subject: Moving config files from /etc/open-infrastructure to /etc/compute-tools. Signed-off-by: Daniel Baumann --- libexec/container/auto | 5 +++-- libexec/container/console | 3 ++- libexec/container/create | 5 +++-- libexec/container/enter | 3 ++- libexec/container/key | 3 ++- libexec/container/limit | 3 ++- libexec/container/list | 5 +++-- libexec/container/log | 1 + libexec/container/move | 5 +++-- libexec/container/remove | 5 +++-- libexec/container/restart | 3 ++- libexec/container/run | 3 ++- libexec/container/start | 5 +++-- libexec/container/status | 5 +++-- libexec/container/stop | 5 +++-- libexec/container/top | 1 + libexec/container/version | 3 ++- 17 files changed, 40 insertions(+), 23 deletions(-) (limited to 'libexec/container') diff --git a/libexec/container/auto b/libexec/container/auto index 6c1d47b..4c39e2d 100755 --- a/libexec/container/auto +++ b/libexec/container/auto @@ -20,11 +20,12 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" Parameters () { diff --git a/libexec/container/console b/libexec/container/console index 2dc6546..912a259 100755 --- a/libexec/container/console +++ b/libexec/container/console @@ -20,10 +20,11 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/libexec/container/create b/libexec/container/create index bdf9fb4..91ba4c6 100755 --- a/libexec/container/create +++ b/libexec/container/create @@ -20,11 +20,12 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" SCRIPTS="/usr/share/${PROJECT}/${PROGRAM}/scripts" CONFIG_TEMPLATE="/usr/share/${PROJECT}/${PROGRAM}/config/container.conf.in" diff --git a/libexec/container/enter b/libexec/container/enter index fed1193..d89ceec 100755 --- a/libexec/container/enter +++ b/libexec/container/enter @@ -20,10 +20,11 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/libexec/container/key b/libexec/container/key index 4cbdaa0..56eb9d2 100755 --- a/libexec/container/key +++ b/libexec/container/key @@ -20,10 +20,11 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -KEYS="/etc/${PROJECT}/${PROGRAM}/keys" +KEYS="/etc/${SOFTWARE}/keys" Parameters () { diff --git a/libexec/container/limit b/libexec/container/limit index 99ef03a..ec07fe6 100755 --- a/libexec/container/limit +++ b/libexec/container/limit @@ -20,10 +20,11 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/libexec/container/list b/libexec/container/list index ba794ab..6f9f533 100755 --- a/libexec/container/list +++ b/libexec/container/list @@ -20,11 +20,12 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" VERSION="$(${PROGRAM} version)" diff --git a/libexec/container/log b/libexec/container/log index a18c421..6674e13 100755 --- a/libexec/container/log +++ b/libexec/container/log @@ -20,6 +20,7 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" diff --git a/libexec/container/move b/libexec/container/move index e20d8a8..5f65b21 100755 --- a/libexec/container/move +++ b/libexec/container/move @@ -20,11 +20,12 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/libexec/container/remove b/libexec/container/remove index 75ebd60..01161fa 100755 --- a/libexec/container/remove +++ b/libexec/container/remove @@ -20,11 +20,12 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/libexec/container/restart b/libexec/container/restart index 3c84f4d..04708a1 100755 --- a/libexec/container/restart +++ b/libexec/container/restart @@ -20,10 +20,11 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/libexec/container/run b/libexec/container/run index f6323c0..c72c1b6 100755 --- a/libexec/container/run +++ b/libexec/container/run @@ -20,10 +20,11 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/libexec/container/start b/libexec/container/start index 30aee53..4e31f72 100755 --- a/libexec/container/start +++ b/libexec/container/start @@ -20,11 +20,12 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" START="false" diff --git a/libexec/container/status b/libexec/container/status index a4b49e1..25c9b95 100755 --- a/libexec/container/status +++ b/libexec/container/status @@ -20,11 +20,12 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/libexec/container/stop b/libexec/container/stop index 6b8caee..8de825b 100755 --- a/libexec/container/stop +++ b/libexec/container/stop @@ -20,11 +20,12 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" CLEAN="false" diff --git a/libexec/container/top b/libexec/container/top index d9baa1c..f71f7c3 100755 --- a/libexec/container/top +++ b/libexec/container/top @@ -20,6 +20,7 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" diff --git a/libexec/container/version b/libexec/container/version index c2b7716..f74c696 100755 --- a/libexec/container/version +++ b/libexec/container/version @@ -20,10 +20,11 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" COMMAND="$(basename ${0})" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +HOOKS="/etc/${SOFTWARE}/hooks" SHARE="/usr/share/${PROJECT}/${PROGRAM}" # Pre hooks -- cgit v1.2.3