minor bug fixes
[automated-distro-installer] / faiserver-setup
index 17dfba3db75bfe8d3799620a3ebf23a4703733ff..4742ae1d1ed1948f8a5d183d65a17430e05e5afc 100755 (executable)
@@ -181,8 +181,10 @@ s,^( *FAI_DEBOOTSTRAP=).*,\1"$base $r",
 EOF
 
 $sed 's/#LOGUSER/LOGUSER/' /etc/fai/fai.conf
+$sed -i '/^LOGUSER=/d' /etc/fai/fai.conf
 $sed -i '/^FAI_FLAGS=/d' /etc/fai/fai.conf
 echo "FAI_FLAGS=verbose" >>/etc/fai/fai.conf
+echo "LOGUSER=fai" >>/etc/fai/fai.conf
 
 # from man fai-make-nfsroot,
 # figured out after partitioning ignored my crypt partition