Skip to content

Instantly share code, notes, and snippets.

@biiont
Created October 1, 2015 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biiont/6744b1bae9c7bb1cd6ca to your computer and use it in GitHub Desktop.
Save biiont/6744b1bae9c7bb1cd6ca to your computer and use it in GitHub Desktop.
Fix dhcp name change
#!/bi/sh
# Fix dhcp name change. Works for Debian on 2015-07-11.
sudo echo "supersede host-name gethostname();" >> /etc/dhcp/dhclient.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment