Revision e9a52589
Added by Oleh Fedorenko about 3 years ago
app/views/unattended/provisioning_templates/provision/kickstart_default.erb | ||
---|---|---|
- disable-uek: boolean (default=false)
|
||
- use-ntp: boolean (default depends on OS release)
|
||
- fips_enabled: boolean (default=false)
|
||
- encrypt_grub: boolean (default=false)
|
||
|
||
Reference links:
|
||
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guide/s1-kickstart2-options
|
||
... | ... | |
|
||
<% if @host.operatingsystem.name == 'Fedora' && os_major <= 16 -%>
|
||
# Bootloader exception for Fedora 16:
|
||
bootloader --append="<%= host_param('bootloader-append') || 'nofb quiet splash=quiet' %> <%= ks_console %>" <%= @grub_pass %>
|
||
bootloader --append="<%= host_param('bootloader-append') || 'nofb quiet splash=quiet' %> <%= ks_console %>" <%= grub_pass %>
|
||
part biosboot --fstype=biosboot --size=1
|
||
<% else -%>
|
||
bootloader --location=mbr --append="<%= host_param('bootloader-append') || 'nofb quiet splash=quiet' %>" <%= @grub_pass %>
|
||
bootloader --location=mbr --append="<%= host_param('bootloader-append') || 'nofb quiet splash=quiet' %>" <%= grub_pass %>
|
||
<% if os_major == 5 -%>
|
||
key --skip
|
||
<% end -%>
|
Also available in: Unified diff
Fixes #32394 - Use grub_pass macro instead of variable
The default Kickstart template uses obsolete @grub_pass variable
which are not being set anywhere. Maybe it's due to typo or else.
I suggest to use macro instead so it's possible to set the password
via host params and do not clone the template for this purpose only.