update-hostname-from-ip8
Set current hostname to match the ip address
Usage
update-hostname-from-ip [-mMInq]
Overview
Set current hostname to match the IP address on eth0. This is useful when getting the IP address from DHCP.
Options
These are the options that can appear on the command line:
-
-m -
use MAC address
-
-M MAC -
use this MAC address
-
-I IP -
use this IP address
-
-n -
print only
-
-q -
quiet