From 29bf83125a686a76ccf79a09d02f2c1242451cc7 Mon Sep 17 00:00:00 2001 From: Gijutsu Date: Wed, 23 Aug 2017 16:26:11 +0200 Subject: [PATCH] Added info on how to bootstrap a machine that is not yet in DNS --- docs/cosmos-puppet-ops.mkd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/cosmos-puppet-ops.mkd b/docs/cosmos-puppet-ops.mkd index 3c7bfcd..48ce492 100644 --- a/docs/cosmos-puppet-ops.mkd +++ b/docs/cosmos-puppet-ops.mkd @@ -258,7 +258,7 @@ Adding a host Bootstrapping a host is done using the 'addhost' command: ``` -# ./addhost [-b] $fqdn +# ./addhost -b $fqdn ``` The -b flag causes addhost to attempt to bootstrap cosmos on the remote host using @@ -275,6 +275,12 @@ The boostrap process will create a cron-job on $fqdn that runs every 15 minutes. This should be a good starting point for your domain. Now you may want to add some 'naming rules'. +To bootstrap a machine that is not yet configured in DNS, use the following options: + +``` +# ./addhost -b -n $fqdn-to-add-later-in-dns -- IP-address +``` + Defining naming rules ---------------------