diff options
Diffstat (limited to 'openstack-keystone.configure')
-rw-r--r-- | openstack-keystone.configure | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openstack-keystone.configure b/openstack-keystone.configure index 2a3cc0f7..6b011b14 100644 --- a/openstack-keystone.configure +++ b/openstack-keystone.configure @@ -111,3 +111,13 @@ keystone_configuration={ yaml.dump(keystone_configuration, sys.stdout, default_flow_style=False) EOF + +python << 'EOF' > "$OPENSTACK_DATA/postgres.conf" +import os, sys, yaml + +postgres_configuration={ + 'MANAGEMENT_INTERFACE_IP_ADDRESS': os.environ['MANAGEMENT_INTERFACE_IP_ADDRESS'], +} + +yaml.dump(postgres_configuration, sys.stdout, default_flow_style=False) +EOF |