[PATCH master/rhel7] Allow disc swapping with "inst.ks=cdrom[:...]" (#1122104)

Will Woods wwoods at redhat.com
Thu Sep 25 21:06:23 UTC 2014


Hi!

So here's a couple patches that will let you swap CDs to load your kickstart
off CD if you're also installing off a CD/DVD. I guess people do this
sometimes?

I've tested it out locally - yes, I had to dust off my CD-Rs because
virt-manager doesn't seem to like you ejecting a virtual CD? Whatever.
Anyway it totally works and stuff.

And it *only* triggers if you're using literally "inst.ks=cdrom[:...]" as a
boot argument, so it shouldn't affect any other boot paths.

First patch adds some helper functions, the second patch uses them to do
stuff.

diffstat:

 dracut/anaconda-diskroot    | 11 +++++++++++
 dracut/fetch-kickstart-disk | 15 +++++++++++++--
 2 files changed, 24 insertions(+), 2 deletions(-)

Thanks for your time, etc.

-w




More information about the anaconda-patches mailing list