[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does cfagent determine the hostname?
From: |
Mark . Burgess |
Subject: |
Re: How does cfagent determine the hostname? |
Date: |
Thu, 23 Sep 2004 07:31:50 +0200 (MEST) |
CFngine learns the hostname from uname() - e.g. uname -a.
So as long as there is some way of telling the host its
name you don't have t think about cfengine, it will figure
it out.
Normally you would register in DNS or you favourite directory
service.
M
On 22 Sep, John Borwick wrote:
> Hello.
>
> I'm trying to automate a machine installation with kickstart and
> cfengine. In my %post section, the last two lines are
>
> hostname `hostname --fqdn`
> cfagent -Kvq
>
> This approach seems to work on RHAS2.1, but not RHEL3.
>
> How should I set the hostname for cfagent?
>
> Yours,
> John
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~