Bug 642704 - ks file , %pre part fails
Summary: ks file , %pre part fails
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 540
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2010-10-13 15:38 UTC by Petr Sklenar
Modified: 2014-07-04 13:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 13:29:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Sklenar 2010-10-13 15:38:19 UTC
Description of problem:
there are wrong script in ks %pre part 

Version-Release number of selected component (if applicable):
Satellite-5.4.0-RHEL5-re20101008.0

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
fi


  
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.