Add support for Scientific Linux for hostname module

hostname module was lacking support for Scientific Linux, this commit adds it.
Merge pull request #5658 from rishid/devel

Add support for Scientific Linux for hostname module