Commit 7687818a authored by Julien Muchembled's avatar Julien Muchembled

recipe: expose 'instance-guid' to the partition being processed

This value can be used as a unique identifier within the cloud.
It was already available for the requesting partition ('request' recipe).
parent efd7c57d
......@@ -155,6 +155,7 @@ class Recipe(object):
'UNKNOWN Instance').encode('UTF-8')
options['root-instance-title'] = parameter_dict.pop('root_instance_title',
'UNKNOWN').encode('UTF-8')
options['instance-guid'] = computer_partition.getInstanceGuid()
ipv4_set = set()
v4_add = ipv4_set.add
......
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