Bug 642704 - ks file , %pre part fails
ks file , %pre part fails
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Justin Sherrill
Red Hat Satellite QA List
: Regression
Depends On:
Blocks: 462714
  Show dependency treegraph
Reported: 2010-10-13 11:38 EDT by Petr Sklenar
Modified: 2014-07-04 09:29 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-07-04 09:29:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Sklenar 2010-10-13 11:38:19 EDT
Description of problem:
there are wrong script in ks %pre part 

Version-Release number of selected component (if applicable):

How reproducible:
always with ks for rhel6

Steps to Reproduce:
1. create default kickstart for rhel6
2. perform this ks
3. there is error in part:

insmod /lib/jbd.o
insmod /lib/ext3.o

if [ -f /lib/ext4.o ];
    insmod /lib/ext4.o

Actual results:
insmod: can't read '/lib/jbd.o': No such file or directory
insmod: can't read '/lib/ext3.o': No such file or directory
/tmp/ks-script-lKw4lt: line 10: syntax error near unexpected token `fi'
/tmp/ks-script-lKw4lt: line 10: `fi'

Expected results:
insmod fail
if [ -f /lib/ext4.o ];then

Additional info:
adding regression, i didnt see such a error in sat530

Note You need to log in before you can comment on or make changes to this bug.