RE: %post questions

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

 



	I've read the various FAQs/HOWTOs that I've found via google-ing
(e.g., redhat's, wwwcache's, etc). I've tried the boot with and without
#! /bin/sh and didn't notice any difference, which is why I asked.
	
	Every faq/howto I've read goes on at length about %post contents
crashing or hanging the ks, so I wanted to clear up what would happen if
I set it to run commands that require user interaction (e.g. up2date
--register) or if I tossed in an init into single user mode (so that I
can run things that would require root permissions, like /sbin/iptables)
-- I don't know if that's even necessary. I assume it is, but most
scripts I've seen have commands that you need root permissions for like
adduser and /sbin/iptables.

	Is there any way to not specify the root password in the ks.cfg
file? I'd rather have the users specify their own root pw, but from what
I've read it seems that leaving it blank will hang the install and make
the ks useless (users will have to answer all questions afterwards)
since there isn't a way to have an automated install for everything
except one or two questions. Ideally, I'd like an install where the
user's only input would be his/her root pw and their static IP/DHCP.

	If there's any other docs I should read, I'd love to know about
them. 

-----Original Message-----
From: John [mailto:red@xxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, December 04, 2002 5:49 PM
To: kickstart-list@xxxxxxxxxx
Subject: Re: %post questions

On Wed, 4 Dec 2002, Dave wrote:

> 
> 
> I have a few questions about kickstarting from my bootdisk, and
> apologise in advance if any of these are incredibly stupid:
> 
> I have some commands that I want to run after the install in the %post
> section, do they need to be prefixed with #! /bin/sh ?? They're mostly
> along the lines of 
> 

What research have you done? What have you tried?

If you've made no effort, then you're wasting our time.





[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