[Fai-commit] r3430 - trunk/bin

fai-repository at svn.debian.org fai-repository at svn.debian.org
Tue Apr 18 16:20:10 UTC 2006


Author: lange
Date: 2006-04-18 16:20:10 +0000 (Tue, 18 Apr 2006)
New Revision: 3430

Modified:
   trunk/bin/make-fai-nfsroot
Log:
add config for aptitude to allow unsigned packages without prompting


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2006-04-18 15:37:25 UTC (rev 3429)
+++ trunk/bin/make-fai-nfsroot	2006-04-18 16:20:10 UTC (rev 3430)
@@ -250,7 +250,12 @@
     echo "127.0.0.1 localhost" >> etc/hosts
     echo "$NFSROOT_ETC_HOSTS" >> etc/hosts
     [ -f $cfdir/preferences ] && cp -v $cfdir/preferences $NFSROOT/etc/apt
-    echo 'APT::Get::AllowUnauthenticated "true";' >$NFSROOT/etc/apt/apt.conf.d/10fai
+    # we need these option before installing the first package. So we
+    # can't put this into fai-nfsroot /etc/apt/apt.conf.d/90fai
+    cat <<EOF >$NFSROOT/etc/apt/apt.conf.d/10fai
+APT::Get::AllowUnauthenticated "true";
+Aptitude::CmdLine::Ignore-Trust-Violations yes;
+EOF
     echo "Upgrading $NFSROOT"
     LC_ALL=C call_verbose call_with_stamp upgrade_nfsroot  
     echo "Adding additional packages to $NFSROOT:"




More information about the Fai-commit mailing list