AW: fai-make-nfsroot
Thomas Lange
lange at informatik.uni-koeln.de
Wed Apr 15 13:48:18 CEST 2015
>>>>> On Mon, 13 Apr 2015 22:11:12 +0200, Christian Meyer <c2h5oh at web.de> said:
> Of course "real merging" isn't possible, but what about
> modifying /etc/fai/nfsroot.conf to something like:
> DISTRIBUTION=$(cat /etc/fai/apt/sources.list | grep -Em1
> '(.debian.|.ubuntu.)' | cut -d\ -f2')
> CODENAME=$(cat /etc/fai/apt/sources.list | grep -Eom1 '( squeeze |
> wheezy | jessie | trusty | utopic | vivid )')
> FAI_DEBOOTSTRAP="$CODENAME $DISTRIBUTION"
No, this will fail in some situations, but the user expects the code
to work correctly. I prefer to let the user edit those files, because
then he is responsible for the change and maybe he knows what he had
done wrong.
> Many people (now including me) know it, it's just about making FAI more
> newbie-friedly.
I will add a hint into the FAI guide, which I'm currently working on.
--
regards Thomas
More information about the linux-fai
mailing list