Project

General

Profile

Actions

Bug #1878

closed

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

Added by Rytis Sileika over 11 years ago. Updated over 11 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 #2

Updated by Ohad Levy over 11 years ago

  • Category set to Unattended installations
  • Target version set to 1.1
Actions #3

Updated by Rytis Sileika over 11 years ago

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

Also available in: Atom PDF