[debian-edu-commits] r78766 - branches/wheezy/debian-edu-install
schweer-guest at alioth.debian.org
schweer-guest at alioth.debian.org
Wed Jan 16 20:18:49 UTC 2013
Author: schweer-guest
Date: 2013-01-16 20:18:49 +0000 (Wed, 16 Jan 2013)
New Revision: 78766
Modified:
branches/wheezy/debian-edu-install/finish-install
Log:
Keep configured network interfaces file from being deleted by d-i.
Don't delete file, only zero content, to avoid error message
in log file.
Modified: branches/wheezy/debian-edu-install/finish-install
===================================================================
--- branches/wheezy/debian-edu-install/finish-install 2013-01-16 17:32:32 UTC (rev 78765)
+++ branches/wheezy/debian-edu-install/finish-install 2013-01-16 20:18:49 UTC (rev 78766)
@@ -27,4 +27,11 @@
error "Unable to find $hook"
fi
+# Prevent d-i to delete configured target interface file
+file=/usr/lib/finish-install.d/55netcfg-copy-config
+if [ -x $file ] ; then
+ log "Keep already configured interface file"
+ cat /dev/null > $file
+fi
+
exit 0
More information about the debian-edu-commits
mailing list