Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Ubuntu Hostname Changer

A script to automate the hostname changing process.

Usage:
Change Hostname: chhostname.sh [NEW_HOSTNAME]
Help: chhostname.sh -h
List config file contents: chhostname.sh -l
Manually edit config files: chhostname.sh -m

If you are using interactively and something doesnt look right, choose [N] to not make changes. If you have run the script and not rebooted, re-running will not properly detect domain name. If all else fails, run in manual mode.

Each time a change is made, backup files are created in /etc.

About

A script to automate the hostname changing process

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages