[Fai-commit] r3953 - trunk/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Thu Sep 14 09:55:29 UTC 2006


Author: lange
Date: 2006-09-14 09:55:28 +0000 (Thu, 14 Sep 2006)
New Revision: 3953

Modified:
   trunk/lib/subroutines-linux
Log:
fix path for resolv.conf, so DNS is available during installation.


Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux	2006-09-13 18:57:06 UTC (rev 3952)
+++ trunk/lib/subroutines-linux	2006-09-14 09:55:28 UTC (rev 3953)
@@ -177,7 +177,7 @@
 
     # ftp and http needs resolv.conf in chroot environment, /etc/hosts is useful
     # think about using fcopy for these two files
-    [ -f /tmp/etc/resolv.conf ] && cp /tmp/etc/resolv.conf $FAI_ROOT/etc
+    [ -f /etc/resolv.conf ] && cp /etc/resolv.conf $FAI_ROOT/etc
     [ -f /etc/hosts ] && cp /etc/hosts $FAI_ROOT/etc
     # set hostname in $FAI_ROOT
     if [ -f /var/run/fai//FAI_INSTALLATION_IN_PROGRESS ]; then




More information about the Fai-commit mailing list