Project

General

Profile

Bug #1878

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

Added by Rytis Sileika almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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 %>

Associated revisions

Revision 0246bc1c (diff)
Added by Rytis Sileika almost 7 years ago

fixes #1878 - Double quote in the wrong place included invalid kernel boot option

History

#2 Updated by Ohad Levy almost 7 years ago

  • Category set to Unattended installations
  • Target version set to 1.1

#3 Updated by Rytis Sileika almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF