update /etc/hosts file after set static ip