Donnerstag, 28. November 2013

SALT: changing a minions hostname

Recently I had the requirement to change a minions hostname. One might think that changing the hostname in /etc/hostname and/or the FQDN in /etc/hosts is sufficient, but you have to do some more steps.
  1. update /etc/hostname and /etc/hosts
  2. stop service
  3. change minion id in /etc/salt/minion_id
  4. start service
That's it...

Keine Kommentare:

Kommentar veröffentlichen