FQDN in der /etc/hosts automatisch beim Booten anpassen
Erscheinungsbild
FQDN in der /etc/hosts automatisch beim Booten anpassen
Voraussetzung:
rc.localübersystemdmuß aktiviert sein
Debian-/Ubuntu-Systeme:
systemctl enable rc-local.service
Minimalinhalt der /etc/rc.local:
#!/bin/sh # add your commands # call your scripts here # vim: ts=4:sw=4 # last line must be exit 0 exit 0