Commit 8d1193b4 authored by Alain Takoudjou's avatar Alain Takoudjou

fix: slapconfiguration can provide instance and root instance title

parent 3545ab97
No related merge requests found
...@@ -150,11 +150,11 @@ class Recipe(object): ...@@ -150,11 +150,11 @@ class Recipe(object):
pass pass
else: else:
options[his_key.replace('_', '-')] = value options[his_key.replace('_', '-')] = value
# Get Instance and root instance title or return UNKNOW if not set # Get Instance and root instance title or return UNKNOWN if not set
options['instance-title'] = parameter_dict.pop('instance_title', options['instance-title'] = parameter_dict.pop('instance_title',
'UNKNOW Instance') 'UNKNOWN Instance').encode('UTF-8')
options['root-instance-title'] = parameter_dict.pop('root_instance_title', options['root-instance-title'] = parameter_dict.pop('root_instance_title',
'UNKNOW') 'UNKNOWN').encode('UTF-8')
ipv4_set = set() ipv4_set = set()
v4_add = ipv4_set.add 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