Bug 1098255 - Kickstart upload is failing.
Summary: Kickstart upload is failing.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 560
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Grant Gainey
QA Contact: Martin Korbel
URL:
Whiteboard:
Depends On:
Blocks: sat580-low
TreeView+ depends on / blocked
 
Reported: 2014-05-15 15:10 UTC by Dimitar Yordanov
Modified: 2017-06-21 12:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:10:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Martin Korbel 2017-05-19 13:36:09 UTC
Verified on spacewalk-backend-2.5.3-121

Reproduce:
1. Via comment 0, we can try to upload ks file (there are problems with uncomment variables)

  We get "There are errors in your kickstart template. Please check the 'Kickstart File' tab to determine the problem with the template."
  
  "The kickstart template has syntax rules, using punctuation symbols. To avoid clashes, they need to be properly treated. Details"


2. We edit ks file and comment variables:

...
drives=\$(list-harddrives | awk '{print $1}')
for disk in \$drives; do
    DISKS="\$DISKS \$(fdisk -l /dev/$disk | grep -v "swap\|LVM\|Extended" | awk '/^\/dev/{print $1}')"
done


The kickstart file is successfully uploaded without any errors.


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