3 # use short hostname instead of FQDN
4 export HOSTNAME
=${HOSTNAME%%.*}
5 # n.b. use $action instead of $FAI_ACTION
6 # as the latter is apparently unset at this point in dirinstall
7 if [ "$action" = "dirinstall" ] ; then
10 echo $HOSTNAME > /proc
/sys
/kernel
/hostname