[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: system name in %post of ks.cfg
- From: "Robinson, Andrew W." <Andrew W Robinson mms gov>
- To: "'Discussion of Red Hat Enterprise Linux 3 (Taroon)'" <taroon-list redhat com>
- Subject: RE: system name in %post of ks.cfg
- Date: Thu, 23 Sep 2004 13:55:50 -0600
> -----Original Message-----
> From: Ben Fitzgerald [mailto:ben_m_f yahoo co uk]
> Sent: Thursday, September 23, 2004 2:03 PM
> To: Discussion of Red Hat Enterprise Linux 3 (Taroon)
> Subject: 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
Would the hostname command work for you?
Andrew
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]