[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 03:36:35PM +0100, Kevin Jackson wrote:
> Just add the paramater --hostname host to the network config lines in your
> kickstart config:
> 
> network --device eth0 --bootproto dhcp --hostname yourhostname

I know about the network --hostname myhost

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



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