<?xml version="1.0" encoding="UTF-8"?>
<datasource-configuration xmlns:this="http://xmlns.opennms.org/xsd/config/opennms-datasources" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://xmlns.opennms.org/xsd/config/opennms-datasources 
                      http://www.opennms.org/xsd/config/opennms-datasources.xsd ">
  <jdbc-data-source name="opennms" 
                    database-name="@install.database.name@" 
                    class-name="@install.database.driver@" 
                    url="jdbc:postgresql://localhost:5432/@install.database.name@"
                    user-name="@install.database.user@"
                    password="@install.database.password@" />

  <jdbc-data-source name="opennms-admin" 
                    database-name="template1" 
                    class-name="@install.database.driver@" 
                    url="jdbc:postgresql://localhost:5432/postgres"
                    user-name="@install.database.admin.user@"
                    password="@install.database.admin.password@" />
</datasource-configuration>

<?xml version="1.0" encoding="UTF-8"?>
<datasource-configuration xmlns:this="http://xmlns.opennms.org/xsd/config/opennms-datasources" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://xmlns.opennms.org/xsd/config/opennms-datasources 
                      http://www.opennms.org/xsd/config/opennms-datasources.xsd ">
  <jdbc-data-source name="opennms" 
                    database-name="@install.database.name@" 
                    class-name="@install.database.driver@" 
                    url="jdbc:postgresql://localhost:5432/@install.database.name@"
                    user-name="@install.database.user@"
                    password="@install.database.password@" />

  <jdbc-data-source name="opennms-admin" 
                    database-name="template1" 
                    class-name="@install.database.driver@" 
                    url="jdbc:postgresql://localhost:5432/template1"
                    user-name="@install.database.admin.user@"
                    password="@install.database.admin.password@" />
</datasource-configuration>

Fix database URL for opennms-admin data source
Fix database URL for opennms-admin data source
