Bug#411917: no network at post-install
Package: sarge-support
Version: 0.02
In /usr/lib/finish-install.d/51target-network-sarge it is assumed that
the connected network interface is eth0.
Doing that people net-installing a sarge on a multi-homed machine with
eth0 down will see base-config after reboot failing to access the
network.
I suggest at least changing it like :
--- 51target-network-sarge 2006-06-08 04:12:51.000000000 +0200
+++ 51target-network-sarge.new 2007-02-21 21:29:32.000000000 +0100
@@ -20,5 +20,5 @@
fi
fi
-chroot /target sed -i "s/^allow-hotplug eth0/auto eth0/"
/etc/network/interfaces
-chroot /target sed -i "s/^\tmap eth0/#\tmap eth0/" /etc/network/interfaces
+chroot /target sed -i "s/^allow-hotplug eth/auto eth/" /etc/network/interfaces
+chroot /target sed -i "s/^\tmap eth/#\tmap eth/" /etc/network/interfaces
Cheers
--
Mathieu
Reply to: