1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-23 17:34:17 +03:00

Fixed openstack support for newer versions

This commit is contained in:
Adolfo Gómez García 2017-03-21 15:46:13 +01:00
parent def1c59e4c
commit 632bb3e6d4

View File

@ -43,7 +43,7 @@ import hashlib
import six import six
__updated__ = '2017-02-09' __updated__ = '2017-03-21'
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@ -490,7 +490,7 @@ class Client(object):
'server': { 'server': {
'name': name, 'name': name,
'imageRef': '', 'imageRef': '',
'os-availability-zone': availabilityZone, # 'os-availability-zone': availabilityZone,
'availability_zone': availabilityZone, 'availability_zone': availabilityZone,
'block_device_mapping_v2': [{ 'block_device_mapping_v2': [{
'boot_index': '0', 'boot_index': '0',