summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-11-08 13:38:31 +0800
committerScott Moser <smoser@ubuntu.com>2013-11-08 13:38:31 +0800
commit29e34159eea27e6136ea62fc8bd16252a132b295 (patch)
treeb2a34edf914513b48091ae10d98ecde04cf47080
parentf7d51c7ee1a7520a27a22cab6b0f350d5b5aaf8b (diff)
parentd62dce57bb4649c0c04245e83d3a5d2e4315268b (diff)
downloadvyos-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--ChangeLog1
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b6f59164..ecee860a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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'