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

Re: system name in %post of ks.cfg



On Thu, Sep 23, 2004 at 01:55:50PM -0600, Robinson, Andrew W. wrote:
> 
<snip>
> > I wondered if there is a way to access the hostname as a param
> > in the %post section. The hostname --hostname isn't in the %post
> > section!
> > 
> > I am presently doing something 'clever' with /etc/sysconfig/network
> > but wondered if there was a cleaner method.
> > 
> > Ben
> 
> Would the hostname command work for you?

Andrew:

> I tried to get the hostname I got localhost.localdomain

Would reading the whole thread before you get too dismissive work for you?

Ben



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