diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-11-08 13:38:31 +0800 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-11-08 13:38:31 +0800 |
commit | 29e34159eea27e6136ea62fc8bd16252a132b295 (patch) | |
tree | b2a34edf914513b48091ae10d98ecde04cf47080 | |
parent | f7d51c7ee1a7520a27a22cab6b0f350d5b5aaf8b (diff) | |
parent | d62dce57bb4649c0c04245e83d3a5d2e4315268b (diff) | |
download | vyos-cloud-init-29e34159eea27e6136ea62fc8bd16252a132b295.tar.gz vyos-cloud-init-29e34159eea27e6136ea62fc8bd16252a132b295.zip |
Change SmartOS verb for availability zone
smartos host changed the name of 'region' to 'datacenter_name'
LP: #1244355
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | cloudinit/sources/DataSourceSmartOS.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ - fix power_state_change config module so that example works. Improve its documentation and add reference to 'timeout' - support apt-add-archive with 'cloud-archive:' format. (LP: #1244355) + - Change SmartOS verb for availability zone (LP: #1249124) 0.7.3: - fix omnibus chef installer (LP: #1182265) [Chris Wing] - small fix for OVF datasource for iso transport on non-iso9660 filesystem diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py index 2b4386b7..551b20c4 100644 --- a/cloudinit/sources/DataSourceSmartOS.py +++ b/cloudinit/sources/DataSourceSmartOS.py @@ -46,7 +46,7 @@ SMARTOS_ATTRIB_MAP = { 'user-data': ('user-data', False), 'iptables_disable': ('iptables_disable', True), 'motd_sys_info': ('motd_sys_info', True), - 'availability_zone': ('region', True), + 'availability_zone': ('datacenter_name', True), } DS_NAME = 'SmartOS' |