More setting up an FAI server

andrew bezella abezella at archive.org
Sat Feb 25 03:56:54 CET 2017


On Fri, 2017-02-24 at 18:23 -0800, Bill MacAllister wrote: 
> I am just starting to test my initial FAI server. If there something that I 
> need to do in the PXE configuration to enable a serial console?  Must be 
> since I need to at least set the speed.  What setting am I missing?

there are 2 settings, one for pxe/syslinux[1] and the other for the
kernel. 

for the former (assuming ttyS1 at 115200), the first line of our tftp'd
pxelinux.cfg file reads: 
serial 1 115200 0

and for the kernel (assuming same tty) we add "console=ttyS1,115200n8"
to the "append" line.

see attached for a working (edited) example.  hth,

andy

1. http://www.syslinux.org/wiki/index.php?title=SYSLINUX#SERIAL_port_.5Bbaudrate_.5Bflowcontrol.5D.5D

-- 
andrew bezella <abezella at archive.org>
Internet Archive
-------------- next part --------------
serial 1 115200 0
default fai-generated

label fai-generated
kernel fai/vmlinuz-4.4.6-fai-amd64
append initrd=fai/initrd.img-4.4.6-fai-amd64 ip=dhcp  root=live:https://foo.archive.org/fai/jessie-amd64.img rd.noverifyssl aufs console=tty0 console=ttyS1,115200n8 FAI_FLAGS=verbose,createvt,sshd,debug FAI_CONFIG_SRC=git+ssh://git@bar.archive.org/foo/fai.git FAI_ACTION=install ADDCLASSES=XENIAL,XENIAL64


More information about the linux-fai mailing list