Thanks, I will fix my kickstart file and try again :)
-----Original Message-----
From: Tim Wood [mailto:tim.wood@datawranglers.com]
Sent: Friday, July 18, 2008 5:22 PM
To: fedora-livecd-list@redhat.com
Subject: Re: [Fedora-livecd-list] custom spin: %post section not being executed

Don, /home/fedora doesn't exist until boot.    The standard way to add something to a user folder is to add it to /etc/skel (in post for instance).  To add fedora user to sudoers, enable wheel in /etc/sudo (or /etc/sudoers ... away from my linux box) and then add fedora to the wheel group in /etc/groups

Tim

DON.RAIKES@ORACLE.COM wrote:
Hello,
 
I am working on a custom spin of fedora 9.
so far I can get the basic cd created.
 
I have added several sections to my %post section of my custom kickstart file.
For example:
 
%post
cat > /home/fedora/.exrc << EOF
set ai ic ts=2 tw=80
EOF
%end
 
When the cd is created the /home/fedora/.exrc file does not exist.
 
Do the scripts in my %post section preceed or follow those in the fedora-live-base.ks assuming that I have
%include fedora-live-base.ks
at the top of my kickstart file?
 
Also, how can I add the fedora user to the sudoers list so it has sudo privilleges?

--mailing listFedora-livecd-list@redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-livecd-list


--Wood, CLP, RHCT(tel)Data Wranglers Database & more since    since 1994www.datawranglers.com