File 0001-Fix-nw-software-download.patch of Package sapnwbootstrap-formula
diff --git a/netweaver/install_aas.sls b/netweaver/install_aas.sls
index 40813b1..670d149 100644
--- a/netweaver/install_aas.sls
+++ b/netweaver/install_aas.sls
@@ -28,6 +28,8 @@ create_aas_inifile_{{ instance_name }}:
download_basket: {{ netweaver.sapexe_folder }}
schema_name: {{ netweaver.schema.name|default('SAPABAP1') }}
schema_password: {{ netweaver.schema.password }}
+ hana_host: {{ netweaver.hana.host }}
+ hana_sid: {{ netweaver.hana.sid }}
hana_password: {{ netweaver.hana.password }}
hana_inst: {{ hana_instance }}
diff --git a/netweaver/install_pas.sls b/netweaver/install_pas.sls
index 8068af2..24a77a6 100644
--- a/netweaver/install_pas.sls
+++ b/netweaver/install_pas.sls
@@ -30,6 +30,8 @@ create_pas_inifile_{{ instance_name }}:
schema_name: {{ netweaver.schema.name|default('SAPABAP1') }}
schema_password: {{ netweaver.schema.password }}
ascs_virtual_hostname: {{ node.ascs_virtual_host }}
+ hana_host: {{ netweaver.hana.host }}
+ hana_sid: {{ netweaver.hana.sid }}
hana_password: {{ netweaver.hana.password }}
hana_inst: {{ hana_instance }}
diff --git a/templates/aas.inifile.params.j2 b/templates/aas.inifile.params.j2
index 48a03c5..33b80ab 100644
--- a/templates/aas.inifile.params.j2
+++ b/templates/aas.inifile.params.j2
@@ -64,9 +64,21 @@ NW_GetMasterPassword.masterPwd = {{ master_password }}
# Install the SAP HANA database client in a central or local directory. Possible values are: 'SAPCPE', 'LOCAL'
# NW_HDB_DBClient.clientPathStrategy = LOCAL
+# Database host
+NW_HDB_getDBInfo.dbhost = {{ hana_host }}
+
+# Database system ID
+NW_HDB_getDBInfo.dbsid = {{ hana_sid.upper() }}
+
+# The instance number of the SAP HANA database server
+NW_HDB_getDBInfo.instanceNumber = {{ '{:0>2}'.format(hana_inst) }}
+
# Password of user 'SYSTEM' within the 'SystemDB' tenant in an SAP HANA MultiDB server
NW_HDB_getDBInfo.systemDbPassword = {{ hana_password }}
+# Password of user 'SYSTEM' inside the SAP HANA database server
+NW_HDB_getDBInfo.systemPassword = {{ hana_password }}
+
# NW_SAPCrypto.SAPCryptoFile =
# SAP INTERNAL USE ONLY
diff --git a/templates/pas.inifile.params.j2 b/templates/pas.inifile.params.j2
index e31ddc9..20fe156 100644
--- a/templates/pas.inifile.params.j2
+++ b/templates/pas.inifile.params.j2
@@ -115,9 +115,21 @@ NW_GetMasterPassword.masterPwd = {{ master_password }}
# Install the SAP HANA database client in a central or local directory. Possible values are: 'SAPCPE', 'LOCAL'
# NW_HDB_DBClient.clientPathStrategy = LOCAL
+# Database host
+NW_HDB_getDBInfo.dbhost = {{ hana_host }}
+
+# Database system ID
+NW_HDB_getDBInfo.dbsid = {{ hana_sid.upper() }}
+
+# The instance number of the SAP HANA database server
+NW_HDB_getDBInfo.instanceNumber = {{ '{:0>2}'.format(hana_inst) }}
+
# Password of user 'SYSTEM' within the 'SystemDB' tenant in an SAP HANA MultiDB server
NW_HDB_getDBInfo.systemDbPassword = {{ hana_password }}
+# Password of user 'SYSTEM' inside the SAP HANA database server
+NW_HDB_getDBInfo.systemPassword = {{ hana_password }}
+
# Enable the instance agent (sapstartsrv) data supplier to send operating system information to the System Landscape Directory (SLD). Default is 'false'.
# NW_SLD_Configuration.configureSld = false