Bug 1130539

Summary: [RFE] livemedia-creator include config and commands
Product: [Fedora] Fedora Reporter: Pat Riehecky <riehecky>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, bcl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 00:46:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pat Riehecky 2014-08-15 13:42:03 UTC
Description of problem: When creating images such as --make-iso or --make-disk it would be helpful if their was a way to optionally include the kickstart file and commands used to build the image on the image root.

something like:
mount -o loop my.iso /mnt/
ls /mnt/livemedia.ks
ls /mnt/livemedia-recreate.sh

Version-Release number of selected component (if applicable):lorax-21.19-1.fc22


How reproducible:
100%

Steps to Reproduce:
1. Discover 3 month old live media
2. Wish to rebuild with current packages
3. Media rebuild is not self contained

Actual results:
Need to find the kickstart and commands from an external location

Expected results:
The ability to easily make media anyone can reproduce from information on the media itself.

Additional info:

Comment 1 Brian Lane 2014-10-17 00:46:49 UTC
Getting the actual source kickstart onto the final media is tricky. Anaconda does write a copy of it, after parsing, into /root/ but that doesn't include any comments.

You could package your kickstart in a rpm and include it that way, or fetch it from a network source in %post. When using --no-virt you may even be able to copy it from the host in a %post --nochroot section.

There is the additional problem that not everyone wants to include it, so that means adding yet another switch, so in the end I think it's best to let you pull it in yourself in %post.