$FAI_REMOTESH and $LOGSERVER in FAI~beta

Achim Bohnet ach at mpe.mpg.de
Thu Sep 21 19:44:11 CEST 2006


On Thursday 21 September 2006 15:20, Thomas Lange wrote:
> >>>>> On Thu, 21 Sep 2006 15:04:40 +0200, "Henning Sprang" <henning_sprang at gmx.de> said:
> 
>     >> LOGSERVER has been moved to CS.
> 
>     > What does CS mean?
> Config space, so it's your /srv/fai/config tree.
> 
>     > Not sure, try if it works to define that variable in the config file
>     > /etc/fai/fai.conf. If not it's probably worth a bugreport.
> I should be possible to define all variable in in fai.conf. But some
> people like to define it depending on a class. $SERVER is normally
> defined by a DHCP call. Have a look at boot.log.

Reminds me about the problem of $SERVER not set during softinstall. My solution
in bin/fai for 2.10.5 was (no 3.0 test here yet, sorry)

@@ -59,7 +59,11 @@
     get_fai_dir

     # check if monitor server is available
+    # Fallback for install:
     [ -z "$monserver" ] && monserver=$SERVER
+    # Fallback for softupdate (as SERVER not defined)
+    [ -z "$monserver" ] && monserver=${FAI_LOCATION%%:*}
+
     faimond=1
     sndhostname=$HOSTNAME # save current hostname
     if sndmon check; then


Oh, bin/fai in 3.0 is quite different, but in case it's not already done,
I would suggest define SERVER via ${FAI_LOCATION%%:*} unless it's
already defined  right at the beginning of bin/fai.

Achim
> 
>     > That's why Thomas is calling for beta tests since weeks! I think it's
>     > not yet too late to fix some things, but it might be a pointer for
>     > others to test FAI 3 and comment on the impact of all the changes -
>     > there should be some time, but not much, left to fix problems.
> Thanks. That's excatly my oppinion.
> -- 
> regards Thomas
> 
> 

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com



More information about the linux-fai mailing list