I would like to upgrade kernel on diskless machine.
First upgrade system as regular one:
Copy new installed initramfs and vmlinuz files somewhere, I've copied them directly to TFTP server
as you can see my TFTP (and also PXE/iSCSI) server is 192.168.1.28.
Then you have to expose new files via TFTP server and modify PXE config files.
My TFTP server files are in /data/tftpboot, and I've decided to store boot files in /networkboot/CentOS7-2003 directory so:
You can edit /data/tftpboot/pxelinux.cfg/default. I've per-machine PXE config files that's why I added to /data/tftpboot/pxelinux.cfg/4c4c4544-0042-4410-8053-b2c04f43334a instead of default:
as you can see kernel and initrd are updated to point at new files.
When You test that system boots from this new config you can change set it as default.
Add comment