Multiple kernel append parameters?

Carsten Aulbert carsten.aulbert at aei.mpg.de
Fri Mar 19 14:46:55 CET 2021


Hi Steffen,

On 19.03.21 14:39, Steffen Grunewald wrote:
> how do I specify multiple kernel append parameters in the fai-chboot
> command line?
>   -k "foo bar" tells me to read the manual page, instead of creating the
> pxelinux.cfg file...
>   -k "'foo bar'" would use "foo" but complains that is doesn't know the
> host "bar".
> There must be a trick, no?

we simply use this within our wrapper script:

$START_WITH -c "/usr/sbin/fai-chboot -$CHBOOT_OPTS -k'console=$TTY 
nomodeset modprobe.blacklist=$MODPROBE_BLACKLIST' -f $FAI_OPTS 
-s$KERNEL_VERS -u nfs://$FAI_SERVER_IP/srv/fai/config $TARGET_IP"

and those entries do make it into the pxe file:

[...]
append initrd=initrd.img-4.19.0-10-amd64 ip=dhcp 
root=10.20.40.9:/srv/fai/nfsroot:vers=3 rootovl console=tty0 nomodeset 
modprobe.blacklist=mei,mei_me,qla1280,qla2xxx,qla4xxx 
FAI_FLAGS=verbose,sshd,createvt,initial,reboot 
FAI_CONFIG_SRC=nfs://10.20.40.9/srv/fai/config FAI_ACTION=install
[...]

Thus, it ought to be straight-forward

Cheers

Carsten
-- 
Dr. Carsten Aulbert, Max Planck Institute for Gravitational Physics,
Callinstraße 38, 30167 Hannover, Germany, Phone +49 511 762 17185


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20210319/2f1a4b94/attachment.p7s>


More information about the linux-fai mailing list