Greetings,

----- Original Message -----
> is it possible to populate the "Liveuser" home directory during
> creation of live image with livecd-creator?

I populate /root and /etc/skel during the media creation... to copy over all of 
the content from which I create the media.  Here's what I put in my "%post 
--nochroot" secton.  I don't know if you'll find this helpful or not.

# MontanaLinux stuff
HOSTDIR="/root/livecd-creator/MontanaLinux"
cp -f "$HOSTDIR/.tmux.conf" "$INSTALL_ROOT/etc/skel/"
cp -f "$HOSTDIR/.tmux.conf" "$INSTALL_ROOT/root/"
mkdir "$INSTALL_ROOT/root/livecd-creator"
cp -f -r $HOSTDIR "$INSTALL_ROOT/root/livecd-creator/"

Note, what you put in /etc/skel (completely unrelated to live media) will be 
copied to new (local) user's home directories.  And that includes the liveuser.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
_______________________________________________
livecd mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to