[Fai-commit] r5424 - in trunk: debian doc

Thomas Lange lange at alioth.debian.org
Fri Jul 17 16:44:23 UTC 2009


Author: lange
Date: 2009-07-17 16:44:22 +0000 (Fri, 17 Jul 2009)
New Revision: 5424

Modified:
   trunk/debian/changelog
   trunk/doc/fai-guide.sgml
Log:
fai-guide.sgml: add hint how to define classes on the kernel command
line (closes: #497548)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-06-25 20:44:14 UTC (rev 5423)
+++ trunk/debian/changelog	2009-07-17 16:44:22 UTC (rev 5424)
@@ -6,8 +6,10 @@
   * fai-class: add string warning to message
   * task_sysinfo: call blkid on all disks
   * fcopy.8: improve info for calling postinst
+  * fai-guide.sgml: add hint how to define classes on the kernel command
+    line (closes: #497548)
 
- -- Thomas Lange <lange at debian.org>  Wed, 10 Jun 2009 13:39:42 +0200
+ -- Thomas Lange <lange at debian.org>  Fri, 17 Jul 2009 18:42:25 +0200
 
 fai (3.2.20) unstable; urgency=low
 

Modified: trunk/doc/fai-guide.sgml
===================================================================
--- trunk/doc/fai-guide.sgml	2009-06-25 20:44:14 UTC (rev 5423)
+++ trunk/doc/fai-guide.sgml	2009-07-17 16:44:22 UTC (rev 5424)
@@ -9,8 +9,8 @@
 <!entity faiver "3.2.14">
 <!entity faiverdate "28 Oct 2008">
 
-<!entity version "2.8.5">
-<!entity date    "16 apr 2009">
+<!entity version "2.8.6">
+<!entity date    "17 july 2009">
 
 <!entity faisetup           system "entities/faisetup.sgml">
 <!entity bootexample        system "entities/bootexample.sgml">
@@ -2930,6 +2930,23 @@
 from floppy. You can also set a password for this boot menu.
 <p>
 
+<p> How can I define classes on the kernel command line?
+<p> All key-values pairs on the kernel command line are
+defined as normal shell variables in FAI. Therefore I would add
+following definition to the kernel:
+
+<example>
+myclasses=MYA,MYB,MYC
+</example>
+
+Then you can use the variable <var>myclasses</var> in a script inside
+the subdirectory <tt>class/</tt>. There you should echo the list of
+your own classes using following command: 
+
+<example>
+echo ${myclasses//,/ }
+</example>
+
 <sect id=difai>Using FAI after an Installation with the Debian-Installer<p>
 On <httpsite>www.layer-acht.org</httpsite><httppath>/fai</httppath> you 
 will find an example how to fully automatically install a system using the Debian 




More information about the Fai-commit mailing list