Bug 642704

Summary: ks file , %pre part fails
Product: Red Hat Satellite 5 Reporter: Petr Sklenar <psklenar>
Component: ProvisioningAssignee: Justin Sherrill <jsherril>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 540CC: ahumbe
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-04 13:29:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 462714    

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