From 35b35a5ad58d9496f57e638bd69c0de2f65d102b Mon Sep 17 00:00:00 2001 From: Nik Lutz Date: Tue, 19 Apr 2016 14:46:38 +0200 Subject: Using eth[0-9] instead of host[0-9] in containers /etc/network/interface. Signed-off-by: Daniel Baumann --- share/scripts/debconf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/share/scripts/debconf b/share/scripts/debconf index 24202b0..bbdd65c 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -749,7 +749,7 @@ EOF none) cat >> "${DIRECTORY}/etc/network/interfaces.tmp" << EOF -iface host${NUMBER} inet manual +iface eth${NUMBER} inet manual EOF ;; @@ -757,8 +757,8 @@ EOF dhcp) cat >> "${DIRECTORY}/etc/network/interfaces.tmp" << EOF -auto host${NUMBER} -iface host${NUMBER} inet dhcp +auto eth${NUMBER} +iface eth${NUMBER} inet dhcp EOF ;; @@ -766,8 +766,8 @@ EOF static) cat >> "${DIRECTORY}/etc/network/interfaces.tmp" << EOF -auto host${NUMBER} -iface host${NUMBER} inet static +auto eth${NUMBER} +iface eth${NUMBER} inet static address ${IPV4_ADDRESS} EOF -- cgit v1.2.3