Running Centos 6.x using dhcp, we want to set the hostname to be FQDN that's obtained from a combination of dhcp options. As an example if I have two dhcp options option host-name "foobar"; option domain-name "mydomain.com";
When a client obtains those options via dhcp I would like the hostname to show "foobar.mydomain.com". Any idea on how to accomplish this?