From 3a9454279cfe86c1541c2850d9fcf23c2af71423 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 20 Jul 2021 16:15:45 +0200 Subject: Adding @FILE@ replacement variables in preseed files. Signed-off-by: Daniel Baumann --- share/scripts/debconf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/scripts') 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" \ -- cgit v1.2.3