summaryrefslogtreecommitdiffstats
path: root/share/build-scripts/debconf.d/0002-preseed-debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2023-04-15 14:55:01 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2023-06-10 09:11:49 +0000
commit03ec66ecf4bef3032fc8de2ce9830b8ba5787598 (patch)
treeae5b9be0cebc665cab56ba057c1018ae77f44c20 /share/build-scripts/debconf.d/0002-preseed-debconf
parentReworking container version command in python. (diff)
downloadcompute-tools-03ec66ecf4bef3032fc8de2ce9830b8ba5787598.tar.xz
compute-tools-03ec66ecf4bef3032fc8de2ce9830b8ba5787598.zip
Adding host variable for preseed files.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/build-scripts/debconf.d/0002-preseed-debconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/build-scripts/debconf.d/0002-preseed-debconf b/share/build-scripts/debconf.d/0002-preseed-debconf
index fcb9006..e4b5f44 100755
--- a/share/build-scripts/debconf.d/0002-preseed-debconf
+++ b/share/build-scripts/debconf.d/0002-preseed-debconf
@@ -93,6 +93,7 @@ do
fi
sed -e "s|@NAME@|${NAME}|g" \
+ -e "s|@HOST@|${HOST}|g" \
-e "s|@IPV4_ADDRESS1@|${IPV4_ADDRESS1}|g" \
-e "s|@IPV4_ADDRESS1_PART1@|${IPV4_ADDRESS1_PART1}|g" \
-e "s|@IPV4_ADDRESS1_PART2@|${IPV4_ADDRESS1_PART2}|g" \