fix CI failures for configure_network_spec