Adjust to spread configuration and local network, at least ip configuration should be externalised