Created
October 1, 2015 10:08
-
-
Save biiont/6744b1bae9c7bb1cd6ca to your computer and use it in GitHub Desktop.
Fix dhcp name change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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