-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kernel cmdline different for some nodes #12
Comments
Thank you for your request, that would be a handy addition indeed. But here is at least one thing need to be considered. For example, if we allow overriding some option in Luna, a user might expect it is possible to override other things, like domain, or network prefixes, etc. Probably better solution would be to kernel options from osimage to group item. But this is, probably, for the newer version we are currently working on. For your case, it is possible to use templates to fine-tune behavior. Those are located in |
Thanks for your quick reply, I've looked in the templates and the python scripts in general. I'll work on the templates as soon as I have some time, for now I'll just clone the osimage. I have a suggestion for another problem I had: Proper UEFI Installations need /boot/efi formatted with vfat. So far, I've done this from within the chroot environment in the post script. I found the dracut configuration and added mkdosfs to the initrd, now it works directly from the part script. |
Sorry for the delayed answer. Regarding dracut in future releases: dracut module will contain bare-minimum of the binaries and the other stuff will be moved to /etc/dracut.d files. But anyway, you did it almost right with chroot. Personally, I would add vfat into /etc/dracut.d ( |
I am using luna to install nodes in a cluster made of heterogeneous nodes (completely different vendors). Some nodes need kernel option console=ttyS0 some console=ttyS1. I tried changing options in the Console Redirection settings in the BIOS, but to no avail. And you cannot specify both console=tty[0,1] at the same time, due to a limitation of the Linux kernel.
Otherwise, all nodes use the same image (most configuration is done on first by boot anyway).
Since the kernel options are tied to the osimage, I clone the image now and then change the kernopts parameter. The nodes are put in different groups and then each group gets a different (cloned) image.
Is this the way to do it?
It would be easier if nodes could add/override kernel options. Or that images could be cloned "lightly", where no files are copied, just reused.
The text was updated successfully, but these errors were encountered: