summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-20 14:15:45 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-20 14:15:45 +0000
commit3a9454279cfe86c1541c2850d9fcf23c2af71423 (patch)
treee396a019a580d1d0b3390b3b8356a1f55fa4ba1c /share
parentCorrecting wording in host setup documentation. (diff)
downloadcompute-tools-3a9454279cfe86c1541c2850d9fcf23c2af71423.tar.xz
compute-tools-3a9454279cfe86c1541c2850d9fcf23c2af71423.zip
Adding @FILE@ replacement variables in preseed files.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share')
-rwxr-xr-xshare/scripts/debconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index 9a703e5..9af86f1 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -605,7 +605,8 @@ EOF
# TODO: address parts
fi
- sed -e "s|@NAME@|${NAME}|g" \
+ sed -e "s|@FILE@|${FILE}|g" \
+ -e "s|@NAME@|${NAME}|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" \