Fixed instance namings
This commit is contained in:
parent
c9396320b9
commit
879fc70e1a
@ -33,7 +33,7 @@ class Controller(object):
|
||||
for unit in active_directory['units']:
|
||||
unit_count += 1
|
||||
unit['id'] = uuidutils.generate_uuid()
|
||||
unit['name'] = 'dc-{0}'.format(unit_count)
|
||||
unit['name'] = 'dc{0}'.format(unit_count)
|
||||
|
||||
draft = prepare_draft(draft)
|
||||
draft['services']['activeDirectories'].append(active_directory)
|
||||
|
@ -33,7 +33,7 @@ class Controller(object):
|
||||
for unit in webServer['units']:
|
||||
unit_count += 1
|
||||
unit['id'] = uuidutils.generate_uuid()
|
||||
unit['name'] = 'webserver-{0}'.format(unit_count)
|
||||
unit['name'] = 'webserver{0}'.format(unit_count)
|
||||
|
||||
draft = prepare_draft(draft)
|
||||
draft['services']['webServers'].append(webServer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user