Salt: Difference between revisions

From DWIKI
mNo edit summary
Line 16: Line 16:
==Change minion hostname==
==Change minion hostname==
On minion:
On minion:
-hostname new.host.name
*hostname new.host.name
-update /etc/hostname
*update /etc/hostname
-restart salt-minion
*restart salt-minion


On master:
On master:
rename the key ( /srv/salt/pki/master/minions/old.host.name
rename the key ( /srv/salt/pki/master/minions/old.host.name

Revision as of 13:11, 21 June 2016

Salt Configuration Management

Links

Tools

FAQ

Change minion hostname

On minion:

  • hostname new.host.name
  • update /etc/hostname
  • restart salt-minion

On master: rename the key ( /srv/salt/pki/master/minions/old.host.name