-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
installer: use lorax s390x templates, allow adding parameters at boot
Significant changes include: - Use a naming convention for kernel and initramfs file, which would help for s390x case. The reasoning is that z/VM's CMS files do not allow names and extentions more than 8 characters. While we are renaming, lets stick with traditional RHEL/Fedora naming so redhat.exec and generic.ins don't require changes from lorax templates. - Allow us to add parameters (ignition, raw image, etc.) at boot time for s390x using 'rd.cmdline=ask' dracut parameters. It is better to reuse lorax templates rather than adding it on our own. - generic.ins and redhat.exec from lorax allow us to loop mount the ISO image and expose its mount point via FTP, then LPAR and z/VM can fetch kernel and initramfs from there to boot, basically the same netboot method on RHEL/Fedora, and the same PXE experience on x86. - We also need to add 'rd.neednet=1 coreos.inst=yes' from zipl.prm so that coreos-installer-generator will replace default.target with coreos-installer.target, before user adds any parameter at dracut-cmdline-ask. Signed-off-by: Tuan Hoang <[email protected]>
- Loading branch information
1 parent
29b81a4
commit 6040091
Showing
1 changed file
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters