[PATCH v2] treewide: Introduce 'local mode' for disconnected setups