Bug #32394
closed@grub_pass seems deprecated in the default kickstart template
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1931316
Description of problem:
We have this in the default kickstart template:
bootloader --location=mbr --append="<%= host_param('bootloader-append') || 'nofb quiet splash=quiet' >" <= @grub_pass %>
According to https://community.theforeman.org/t/grub-pass-ks-console/10610, @grub_pass is defined nowhere and the code is dead. Thus, we should change the template to use @host.grub_pass so that people can define grub_grass as a host/hg/global param.
Version-Release number of selected component (if applicable):
6.8
How reproducible:
Easy
Steps to Reproduce:
1. nowhere to define @grub_pass. The only way to change the booloader password is to clone the template. However, in same cases, people do not want to clone.
Actual results:
Can not define @grub_pass to pass the bootloader password
Expected results:
Can define @grub_pass to pass the password.
Updated by Oleh Fedorenko over 3 years ago
- Category changed from TFTP to Templates
- Status changed from New to Assigned
- Assignee set to Oleh Fedorenko
- Triaged changed from No to Yes
Updated by The Foreman Bot over 3 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8461 added
Updated by Oleh Fedorenko over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|e9a52589e2e45cff807d3e7decb27ae447a0cbea.