Added a todo in sethostname function and set hostname in network config