Child pages
  • How to rename a computer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TODO: develop procedure for renaming the volume group and document here (when / is on LVM as ours normally are, this may require rebuilding the initial RAM disk, re-configuring the boot manager, editing fstab ...).  Maybe useful links: https://we.riseup.net/debian/renaming-a-lvm-root-volume-group, https://bugzilla.redhat.com/show_bug.cgi?id=230190#c17 (RedHat),

Name resolution

/etc/hosts  If the name change includes a domain name change and the old domain name appears in /etc/hosts for the computer then it muist be changed.

/etc/resolv.conf{,.head,.tail}  If all these conditions are met ...

  1. The name change includes a domain name change.
  2. /etc/resolv.conf is either a local file or includes a local head or tail file.
  3. The local file(s) include a domain line.

... then the any domain line(s) in /etc/resolv.conf{,.head,.tail} may need adjusting.

Postfix

...