Change hostname only if they differ and added restart machine
Merge pull request #16 from kashivreddy/restarthostset

Change hostname only if the name is different and added restart machine