Remmove osgi from legacy configs