Update network.sh and run it from os-refresh-config hook.