Commit 456a7a79 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Romain Courteaud

slapgrid: provide software instance reference to buildout

parent 6d1b14ab
...@@ -614,6 +614,7 @@ class Partition(object): ...@@ -614,6 +614,7 @@ class Partition(object):
'templates/buildout-tail.cfg.in')) % { 'templates/buildout-tail.cfg.in')) % {
'computer_id': self.computer_id, 'computer_id': self.computer_id,
'partition_id': self.partition_id, 'partition_id': self.partition_id,
'software_instance_reference': self.computer_partition.get("reference"),
'server_url': self.server_url, 'server_url': self.server_url,
'software_release_url': self.software_release_url, 'software_release_url': self.software_release_url,
'key_file': self.key_file, 'key_file': self.key_file,
......
...@@ -15,6 +15,7 @@ key-file = %(key_file)s ...@@ -15,6 +15,7 @@ key-file = %(key_file)s
cert-file = %(cert_file)s cert-file = %(cert_file)s
shared-part-list = shared-part-list =
%(shared_part_list)s %(shared_part_list)s
software-instance-reference = %(software_instance_reference)s
[slap_connection] [slap_connection]
# Kept for backward compatiblity # Kept for backward compatiblity
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment