policy hub with dynamic IP address?

10 views
Skip to first unread message

Eli Taft

unread,
Apr 16, 2018, 1:52:48 PM4/16/18
to help-cfengine
I thought I read somewhere that I could now bootstrap based on hostname instead of IP address.  But does that only work when the hostname is mapped to an ip address in /etc/hosts?  Using CFEngine 3.11.

Nick Anderson

unread,
Apr 16, 2018, 2:52:35 PM4/16/18
to Eli Taft, help-cfengine
You could always bootstrap to a histnam, but it was never advised because the IP at the time of bootstrap was stored in policy_server.dat. In 3.11 if you bootstrap to a host the hostname is recorded and it's resolved each agent run.

No you should not have to have an entry in hosts.

On Mon, Apr 16, 2018, 7:52 PM Eli Taft <elim...@gmail.com> wrote:
I thought I read somewhere that I could now bootstrap based on hostname instead of IP address.  But does that only work when the hostname is mapped to an ip address in /etc/hosts?  Using CFEngine 3.11.

--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to help-cfengin...@googlegroups.com.
To post to this group, send email to help-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/help-cfengine.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages