Package: fai-server
Version: 3.0
Tags: patch

fai-cd includes the wrong sources.list to the ISO image. Therefore the
image will not work in most environments. Here's the patch


fai-cd

@ -118,7 +118,7 @@
 
     set +e
     local d
-    local dirs="boot $FAI media/mirror etc/fai/apt/sources.list"
+    local dirs="boot $FAI media/mirror etc/apt/sources.list"
     for d in $dirs; do
        umount $NFSROOT/$d 2>/dev/null
     done
@@ -152,7 +152,7 @@
        echo "deb file:/media/mirror $i $comp" >> $tmp1
     done
 
-    mount --bind $tmp1 $NFSROOT/etc/fai/apt/sources.list
+    mount --bind $tmp1 $NFSROOT/etc/apt/sources.list
-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to