RE: %post problem

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

 



Might I suggest trying "mkdir -p /var/mario/mario" for that command?  The
'-p' flag will have it create the parent directory also, if it does not
exist, since I'm guessing that it wouldn't on a standard installation done
via kickstart (see 'man mkdir').

Scott Bachmann
Systems Administrator

On Thu, 17 Jan 2002, Mario wrote:

-> Date: Thu, 17 Jan 2002 21:57:03 +0100
-> From: Mario <mariovandewalle@xxxxxxxxxx>
-> Reply-To: kickstart-list@xxxxxxxxxx
-> To: kickstart-list@xxxxxxxxxx
-> Subject: RE: %post problem
->
-> Hello,
->
-> No, not even that.
->
-> Regards,
-> Mario
->
-> -----Original Message-----
-> From: kickstart-list-admin@xxxxxxxxxx
-> [mailto:kickstart-list-admin@xxxxxxxxxx] On Behalf Of Taylor, ForrestX
-> Sent: donderdag 17 januari 2002 21:52
-> To: 'kickstart-list@xxxxxxxxxx'
-> Subject: RE: %post problem
->
-> Does the /var/mario/mario directory get created?
->
-> Forrest
->
->
->
->
-> Hello
->
-> Can you help, what is wrong with the %post part???
-> The kickstart is running well but everything in de %post is not
-> executed.
-> Any idee???
->
-> I have created a RedHat 7.1 linux boot disk and I have put the kickstart
-> script on that bootdisk.
->
-> This is my ks.cfg:

<Snip>

-> %post
-> mkdir /var/mario/mario
-> echo "ONBOOT=yes" >> /etc/sysconfig/network-scrips/ifcfg-eth1
->
-> #Turn services on and off:
-> /sbin/chkconfig --level 345 telnet on
->
-> #create root crontab
-> cat <<EOF >/tmp/crontab.root
-> # Keep the time up to date
-> 0,15,30,45 * * * * /usr/sbin/ntpdate -s eggtimer 2>&1 >/dev/null
-> # Recycle Exim log files
-> 1 0 * * * /usr/exim/bin/exicyclog
-> # Flush the Exim queue
-> 0,15,30,45 * * * * /usr/exim/bin/exim -q
-> EOF
-> crontab /tmp/crontab.root
-> rm /tmp/crontab.root
->
->
-> I hope you can help.
->
-> Kind Regards,
-> Mario
->





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux