mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 08:52:15 +00:00
9a7a690ec7
nodeset adds xcat.uftp= and xcat.uftpfp= to the kernel command line of a stateless node whose image has rootimgtransport uftp, directly or from site.rootimgtransport. The node then receives the root image over UFTP and downloads it over HTTP when that fails. nodeset refuses a node when its image cannot use UFTP. That is the case when the root image check is off, the image URL uses https, or the image has a BitTorrent .metainfo file. It is also the case when the listener does not serve the image directory, or the initial ramdisk that nodes will boot is not the one that genimage marked as having the receiver. nodeset also refuses a node whose linuximage.addkcmdline or bootparams.addkcmdline sets either argument. nodeset checks this before it copies the boot files to TFTP, so a refused node keeps its current boot entry and the kernel and initial ramdisk that the entry names. Statelite images ignore the attribute, as it applies to stateless images only.