Project

General

Profile

Actions

Bug #1878

closed

Default kickstart template has double quotes in the wrong place - causes kernel panic

Added by Rytis Sileika about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

This is what I had in my default ks template:

bootloader --location=mbr --append="nofb quiet splash=quiet --md5pass=<%= root_pass %>" 

This generates illegal kernel boot options that cause kernel panic during the boot.

The line should be:

bootloader --location=mbr --append="nofb quiet splash=quiet" --md5pass=<%= root_pass %>

Patch:

--- a/app/views/unattended/kickstart.rhtml
+++ b/app/views/unattended/kickstart.rhtml
@@ -8,9 +8,9 @@
 rootpw --iscrypted <%= root_pass %>
 firewall --service=ssh
 authconfig --useshadow --enablemd5
 timezone UTC
+bootloader --location=mbr --append="nofb quiet splash=quiet" --md5pass=<%= root_pass %>
-bootloader --location=mbr --append="nofb quiet splash=quiet --md5pass=<%= root_pass %>" 
 <% if @dynamic -%>
 %include /tmp/diskpart.cfg
 <% else -%>
 <%= @host.diskLayout %>
Actions

Also available in: Atom PDF