@sreyan32 In your first post you mentioned that you copied the kickstart file. That is what is meant with .ks files, it is just your kickstart file.
Also what you have shown is for GRUB, how do I do that for ISOLINUX ?
You add the same term to the append line.
The documentation is horrible. If I was allowed to swear I would. THE DOCS ARE HORRIBLE.
I am not even sure if this is documented with Fedora. What documentation were you using if I may ask? Also, the RHEL 7 documentation is as usual awesome, and can be easily adopted to Fedora.
I don’t mean anything personally to you, but the I am amazed at how you get around to customizing anything in Fedora.
Personally, why would you try to create customized iso images? If you need to do customization, isn’t the way better way to do a minimum installation and connect the machines to an automation system to do the rest?
Diligence pays off … especially when you’re learning/running Fedora. If you are in a hurry, some documentation will appear aggravating. It becomes easy to miss vital information that is right under your nose. Your questions were actually answered in that page I shared above.
'''Load a file's contents and return them as a string'''
with open(filename, 'rb') as fh:
contents = fh.read().decode("utf-8")
with open(filename, 'r') as fh:
contents = fh.read()
except IOError as e:
raise KickstartError(_('Error opening file: %s') % str(e))
The filename variable is passed in without the path information so every filename refers to the current working directory.
Thankfully, this Python and not C, so I can patch the file without any compilation nonsense.
So I add in the line:
filename = '/use/share/spin-kickstarts/' + filename
just at the start of the function.
But wait, its not over.
Now the livecd-creator command now works, but while running the command I find that
is not found. So I have go into to /usr/share/spin-kickstarts/fedora-disk-base.ks and comment out the above package.
If its anything like this then please note that its LUKS1 and not LUKS2.
But if I am wrong and you know how to create a LUKS2 partition and then use LVM on it, please let me know IMMEDIATELY.
I would LOVE TO.
In fact the documentation is missing certain things like how to create LVM on LUKS and the bug I mentioned earlier. Just tell me how I can contribute. Problem is I have never actually contributed hence I am unfamiliar with the whole process.
The change tracker lists out the exact problem I have. Now, please note that my /boot is in an completely unencrypted partition. Therefore, I can’t understand why you won’t use LUKS2. Also the /boot directory contains all my bootable kernels. So I really don’t see any reason why LUKS2 cannot be used, as it was promised.
Because I want to be on the latest and greatest and seems weird that LUKS2 has been around for a fair amount of time and still not fully supported by Anaconda.