kickstart installation with UEFI generates errors if the kickstart url includes an ampersand
Environment
Red Hat Enterprise Linux 7
Issue
- Our kickstart file is generated via a CGI script and a template.
- The url to the CGI script is given in the
inst.ks=boot parameter. - The string used in the inst.ks parameter is
http://example.redhat.com/cgi-bin/ks-cfg.cgi?OSTYPE=RHEL&TREE=7.1&ARCH=x86_64 - Further research is pointing me at a potential bug on probably the grubx64.efi, not accepting URLs with ampersands (&) in them.
Resolution
Escape the ampersand with a backslash ().
In this case:
inst.ks=http://example.redhat.com/cgi-bin/ks-cfg.cgi?OSTYPE=RHEL&TREE=7.1&ARCH=x86_64
It should be:
inst.ks=http://example.redhat.com/cgi-bin/ks-cfg.cgi?OSTYPE=RHEL\&TREE=7.1\&ARCH=x86_64
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
