[Debconf-video-commits] r130 - in fai-config/scripts: DEBCONF8 FAIBASE

holger at alioth.debian.org holger at alioth.debian.org
Sun Aug 3 22:40:46 UTC 2008


Author: holger
Date: 2008-08-03 22:40:45 +0000 (Sun, 03 Aug 2008)
New Revision: 130

Added:
   fai-config/scripts/DEBCONF8/10-fix-fqdn
Modified:
   fai-config/scripts/FAIBASE/40-misc
Log:
fix dns stuff which was broken because made a broken manual install and due to the crude exim4 hack

Added: fai-config/scripts/DEBCONF8/10-fix-fqdn
===================================================================
--- fai-config/scripts/DEBCONF8/10-fix-fqdn	                        (rev 0)
+++ fai-config/scripts/DEBCONF8/10-fix-fqdn	2008-08-03 22:40:45 UTC (rev 130)
@@ -0,0 +1,18 @@
+#! /usr/sbin/cfagent -f
+
+control:
+   any::
+   actionsequence = ( files directories editfiles )
+   EditFileSize = ( 30000 )
+
+files:
+   any::
+
+editfiles:
+   any::
+	{ /etc/hosts
+	  DeleteLinesStarting '127.0'
+	  AppendIfNoSuchLine '127.0.0.1       localhost'
+	  AppendIfNoSuchLine "$IPADDRESS    ${HOSTNAME} ${HOSTNAME}.dc8.debconf.org"
+	}
+


Property changes on: fai-config/scripts/DEBCONF8/10-fix-fqdn
___________________________________________________________________
Name: svn:executable
   + *

Modified: fai-config/scripts/FAIBASE/40-misc
===================================================================
--- fai-config/scripts/FAIBASE/40-misc	2008-08-03 22:18:34 UTC (rev 129)
+++ fai-config/scripts/FAIBASE/40-misc	2008-08-03 22:40:45 UTC (rev 130)
@@ -22,8 +22,3 @@
 	  ReplaceAll "^UTC=.*" With "UTC=${UTC}"
 	}
 
-
-	{ /etc/hosts
-	  AppendIfNoSuchLine "127.0.0.1       localhost"
-	}
-




More information about the Debconf-video-commits mailing list