tasks and hooks and scripts - time to reconsider?

Moritz Struebe Moritz.Struebe at cs.fau.de
Fri Dec 5 17:07:11 CET 2014


Am 2014-12-05 um 16:40 schrieb Thomas Neumann:
> e.g.: copy the sources.list to files/... and then use fcopy to pick the 
> correct file to copy to the install client instead of using the NFS client's 
> sources.list. Then you can dist-upgrade the FAI NFS client without suddenly 
> breaking your installed clients.

I don't get this example. We have a script in the class folder that
calls "lsb_release -c -s | tr a-z A-Z" and our config space looks like this:
find files/etc/apt/sources.list
files/etc/apt/sources.list
files/etc/apt/sources.list/MAVERICK
files/etc/apt/sources.list/QUANTAL
files/etc/apt/sources.list/ONEIRIC
files/etc/apt/sources.list/HARDY
files/etc/apt/sources.list/KARMIC
files/etc/apt/sources.list/LUCID
files/etc/apt/sources.list/RARING
files/etc/apt/sources.list/PRECISE
files/etc/apt/sources.list/FEISTY
files/etc/apt/sources.list/NATTY
files/etc/apt/sources.list/UTOPIC
files/etc/apt/sources.list/TRUSTY
files/etc/apt/sources.list/SAUCY

And for the nfsroot I'm currently working on this:
https://github.com/cmorty/fai/tree/dev

You are right, though, this is something that should go upstream.

Morty

-- 
Dipl.-Ing. Moritz 'Morty' Strübe (Wissenschaftlicher Mitarbeiter)
Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme)
Friedrich-Alexander-Universität Erlangen-Nürnberg
Martensstr. 1
91058 Erlangen

Tel   : +49 9131 85-25419
Fax   : +49 9131 85-28732
eMail : struebe at cs.fau.de
WWW   : https://www4.cs.fau.de/~morty



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5279 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20141205/9daf35b6/attachment.p7s>


More information about the linux-fai-devel mailing list