Change the host name. For more information on Droid, please see droidphp.com.
The steps involved are:-
- Write the new host name into the templated shell script and copy it to the host.
- Execute the shell script on the host.
- The platform is Debian-based.
- The host name configuration of the host is in a consistent state. The shell script will either make all of the required changes or none of them, depending on whether the host name is different from that proposed.
- The shell script will simply replace, in
/etc/hosts, all instances of the existing name, wherever they might occur, with the proposed name.
None.
None.