On Sun, Sep 6, 2020 at 5:13 AM Vojtěch Polášek <krecoun(a)gmail.com> wrote:
Hello,
is it possible to populate the "Liveuser" home directory during creation
of live image with livecd-creator?
I know that you can do it with livecd-iso-to-disk, but I would like to
do it in the kickstart. When I try to put something in /home/liveuser,
it still does not exist during creation process.
Where can I find this directory which will become the home?
Or is it enough to put those things into /etc/skel and they will be
placed where appropriate automatically?
Normally, liveuser is created on live media boot, using the livesys
init scripts that are added at kickstart time. You don't have those,
so that's probably why that isn't working.
The liveuser setup init script is in the fedora-live-base kickstart
file that all fedora live kickstarts include:
https://pagure.io/fedora-kickstarts/blob/master/f/fedora-live-base.ks
--
真実はいつも一つ!/ Always, there's only one truth!