Re: livecd-creator is not able to find Kickstart which actually exists
On Tue, Dec 22, 2020 at 5:02 AM stan via users wrote: > > On Tue, 22 Dec 2020 02:08:30 +0530 > Sreyan Chakravarty wrote: > > > livecd-creator --verbose --config=/home/sreyan/kde-flattened.ks > > --fslabel=Fedora Custom --cache=/home/sreyan/cache/live/ > > > It errors out with : > > Kickstart file must be provided > > [snip] > > > Am I doing anything wrong ? > > I don't use kickstarts, but usually phrases with spaces in them have to > be escaped or enclosed in quotes. I see the phrase "Fedora Custom" in > your command, but it doesn't appear to have that protection. The error > might be misleading, but a response to that. Thanks, it worked. -- Regards, Sreyan Chakravarty ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: livecd-creator is not able to find Kickstart which actually exists
On Tue, Dec 22, 2020 at 6:33 AM Ben Cotton wrote: > > On Mon, Dec 21, 2020 at 6:33 PM stan via users > wrote: > > > > I don't use kickstarts, but usually phrases with spaces in them have to > > be escaped or enclosed in quotes. I see the phrase "Fedora Custom" in > > your command, but it doesn't appear to have that protection. The error > > might be misleading, but a response to that. > > That looks like the issue. For compatibility, a single argument is > treated as the kickstart file: > https://github.com/livecd-tools/livecd-tools/blob/master/tools/livecd-creator#L124 > > Since Fedora Custom isn't quoted, livecd-creator is looking for a > kickstart file named 'Custom', which doesn't exist. I opened a pull > request that makes the error messages more clear: > https://github.com/livecd-tools/livecd-tools/pull/175 > > Also, I don't think quoting the label will work in this case. You'll > need to remove the space or replace it with a hyphen or underscore. > Otherwise, you'll hit the "CD labels cannot contain spaces." error > message: > https://github.com/livecd-tools/livecd-tools/blob/master/tools/livecd-creator#L137 > > -- > Ben Cotton > He / Him / His > Senior Program Manager, Fedora & CentOS Stream > Red Hat > TZ=America/Indiana/Indianapolis Thank you. Removing the spaces worked. Let's hope your PR is accepted. -- Regards, Sreyan Chakravarty ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: livecd-creator is not able to find Kickstart which actually exists
On Mon, Dec 21, 2020 at 6:33 PM stan via users wrote: > > I don't use kickstarts, but usually phrases with spaces in them have to > be escaped or enclosed in quotes. I see the phrase "Fedora Custom" in > your command, but it doesn't appear to have that protection. The error > might be misleading, but a response to that. That looks like the issue. For compatibility, a single argument is treated as the kickstart file: https://github.com/livecd-tools/livecd-tools/blob/master/tools/livecd-creator#L124 Since Fedora Custom isn't quoted, livecd-creator is looking for a kickstart file named 'Custom', which doesn't exist. I opened a pull request that makes the error messages more clear: https://github.com/livecd-tools/livecd-tools/pull/175 Also, I don't think quoting the label will work in this case. You'll need to remove the space or replace it with a hyphen or underscore. Otherwise, you'll hit the "CD labels cannot contain spaces." error message: https://github.com/livecd-tools/livecd-tools/blob/master/tools/livecd-creator#L137 -- Ben Cotton He / Him / His Senior Program Manager, Fedora & CentOS Stream Red Hat TZ=America/Indiana/Indianapolis ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: livecd-creator is not able to find Kickstart which actually exists
On Tue, 22 Dec 2020 02:08:30 +0530 Sreyan Chakravarty wrote: > livecd-creator --verbose --config=/home/sreyan/kde-flattened.ks > --fslabel=Fedora Custom --cache=/home/sreyan/cache/live/ > It errors out with : > Kickstart file must be provided [snip] > Am I doing anything wrong ? I don't use kickstarts, but usually phrases with spaces in them have to be escaped or enclosed in quotes. I see the phrase "Fedora Custom" in your command, but it doesn't appear to have that protection. The error might be misleading, but a response to that. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org