pkgos_var_user_group neutron
chmod 755 /var/lib/neutron
-pkgos_read_admin_creds ${META_AGNT_CONF} DEFAULT neutron
-pkgos_read_config ${META_AGNT_CONF} DEFAULT auth_region neutron/region-name
+pkgos_read_admin_creds ${META_AGNT_CONF} DEFAULT neutron-metadata
+pkgos_read_config ${META_AGNT_CONF} DEFAULT auth_region neutron-metadata/region-name
exit 0
#PKGOS-INCLUDE#
manage_metadata_region () {
- db_get neutron/region-name
+ db_get neutron-metadata/region-name
if [ -n "${RET}" ] ; then
pkgos_inifile set ${CONF_FILE} DEFAULT auth_region ${RET}
fi
if [ ! -e ${CONF_FILE} ] ; then
install -D -m 0640 -o neutron -g neutron /usr/share/neutron-metadata-agent/metadata_agent.ini ${CONF_FILE}
fi
- pkgos_write_admin_creds ${CONF_FILE} DEFAULT neutron
+ pkgos_write_admin_creds ${CONF_FILE} DEFAULT neutron-metadata
manage_metadata_region
db_stop
fi
# Even minor modifications require translation updates and such
# changes should be coordinated with translators and reviewers.
-Template: neutron/auth-host
+Template: neutron-metadata/auth-host
Type: string
Default: 127.0.0.1
_Description: Auth server hostname:
Please specify the URL of your Neutron authentication server. Typically
this is also the URL of your OpenStack Identity Service (Keystone).
-Template: neutron/admin-tenant-name
+Template: neutron-metadata/admin-tenant-name
Type: string
Default: admin
_Description: Auth server tenant name:
-Template: neutron/admin-user
+Template: neutron-metadata/admin-user
Type: string
Default: admin
_Description: Auth server username:
-Template: neutron/admin-password
+Template: neutron-metadata/admin-password
Type: password
_Description: Auth server password:
-Template: neutron/region-name
+Template: neutron-metadata/region-name
Type: string
Default: regionOne
_Description: Name of the region to be used by the metadata server: