Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nodeset does not support addkcmdline when netboot=xnba #2614

@bybai

Description

@bybai

nodeset does not support addkcmdline when netboot=xnba
reproduce:
In sles12.sp2 x86_64 MN:
1,chdef bybc0605 addkcmdline=rd.break=pre-pivot
2, nodeset bybc0605 osimage=sles12.2-x86_64-statelite-compute
check the files:, there is no rd.break=pre-pivot in kernel para:

7:/tftpboot/xcat/xnba/nodes # cat /tftpboot/xcat/xnba/nodes/bybc0605
#!gpxe
#statelite sles12.2-x86_64-compute
imgfetch -n kernel http://${next-server}/tftpboot/xcat/osimage/sles12.2-x86_64-statelite-compute/kernel
imgload kernel
imgargs kernel root=nfs:${next-server}:/install/netboot/sles12.2/x86_64/compute/rootimg:ro STATEMNT= XCAT=${next-server}:3001 quiet NODE=bybc0605 FC=0 ip=dhcp console=tty0 console=ttyS0,115200 BOOTIF=01-${netX/machyp}
imgfetch http://${next-server}/tftpboot/xcat/osimage/sles12.2-x86_64-statelite-compute/initrd-statelite.gz
imgexec kernel
7:/tftpboot/xcat/xnba/nodes # cat /tftpboot/xcat/xnba/nodes/bybc0605.elilo
default="xCAT"
delay=0

image=/tftpboot/xcat/osimage/sles12.2-x86_64-statelite-compute/kernel
   label="xCAT"
   initrd=/tftpboot/xcat/osimage/sles12.2-x86_64-statelite-compute/initrd-statelite.gz
   append="root=nfs:%N:/install/netboot/sles12.2/x86_64/compute/rootimg:ro STATEMNT= XCAT=%N:3001 quiet NODE=bybc0605 FC=0 ip=dhcp console=tty0 console=ttyS0,115200 BOOTIF=%B"

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions