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:
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.