remove hard code for openstack configuration by using metadata injection