summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2013-11-07 15:54:54 -0700
committerBen Howard <ben.howard@canonical.com>2013-11-07 15:54:54 -0700
commitd62dce57bb4649c0c04245e83d3a5d2e4315268b (patch)
treec719c577880882c42f6fbb96e83923a6ffd8e924 /cloudinit
parentf7d51c7ee1a7520a27a22cab6b0f350d5b5aaf8b (diff)
downloadvyos-cloud-init-d62dce57bb4649c0c04245e83d3a5d2e4315268b.tar.gz
vyos-cloud-init-d62dce57bb4649c0c04245e83d3a5d2e4315268b.zip
Change SmartOS verb for availability zone (LP: #1249124)
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py2
1 files changed, 1 insertions, 1 deletions
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'