Re: livemedia-creator lorax customizing question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 04, 2021 at 11:21:50AM +0200, Niene Rink wrote:
> Hello,
> since yesterday i am a step further.

If I am understanding correctly you are using livemedia-creator and you
want to add files to the live user's home directory, correct?

lorax/lmc templates aren't the right way to do that, they operate on the
results of the Anaconda installation not inside of it so they can only
change the contents of the iso.

For production setups I recommend wrapping your files in an rpm and
using a local repository added to the kickstart. This lets you keep
track of what went into each image.

For one-off or proof of concept images you could use %post --nochroot
but I am not 100% sure what is available without trying it myself. We
are running anaconda from the host using unshare, but the host
filesystem should be available to copy files from.

kickstart script output is logged so you could add some diagnostics to
your kickstart and then look in ./anaconda/*log for the output to see
what is visible from the %post.

Good Luck,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/anaconda-devel-list




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux