From ef3cb84bcb666b377039352a925b1947e3beff00 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Jul 2017 00:48:02 +0200 Subject: Starting to count at 1 instead of 0 to be consistent with new network interface names in network and archive preseeding arrays. old: container-tools cnt-debconf/archive0/... new: container-tools cnt-debconf/archive1/... old: container-tools cnt-debconf/network0/... new: container-tools cnt-debconf/network1/... Signed-off-by: Daniel Baumann --- share/scripts/debconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/scripts/debconf') diff --git a/share/scripts/debconf b/share/scripts/debconf index a31c605..6190c31 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -810,7 +810,7 @@ Configure_systemd_networkd () chroot "${DIRECTORY}" systemctl enable systemd-networkd - for NUMBER in $(seq 0 ${NETWORK_NUMBER}) + for NUMBER in $(seq 1 ${NETWORK_NUMBER}) do eval IPV4_COMMENT="$`echo NETWORK${NUMBER}_IPV4_COMMENT`" eval IPV4_METHOD="$`echo NETWORK${NUMBER}_IPV4_METHOD`" -- cgit v1.2.3