Remove osgi from legacy configs