Use hostnamectl for systemd.
Merge pull request #6 from cavalier38/lnet

Use hostnamectl for systemd.