summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-07-22 22:48:02 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-07-23 08:20:54 +0000
commitef3cb84bcb666b377039352a925b1947e3beff00 (patch)
treea18856e7922ceb9309a183ae980c6a53d6ea373a /share/scripts/debconf
parentMaking example preseed files non-interactive. (diff)
downloadcompute-tools-ef3cb84bcb666b377039352a925b1947e3beff00.tar.xz
compute-tools-ef3cb84bcb666b377039352a925b1947e3beff00.zip
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 <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts/debconf')
-rwxr-xr-xshare/scripts/debconf2
1 files changed, 1 insertions, 1 deletions
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`"