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.
- update /etc/hostname and /etc/hosts
- stop service
- change minion id in /etc/salt/minion_id
- start service
That's it...
Keine Kommentare:
Kommentar veröffentlichen