Merged internal_ips change
authorSteven Valdez <dvorak42@mit.edu>
Fri, 19 Jul 2013 17:25:52 +0000 (13:25 -0400)
committerSteven Valdez <dvorak42@mit.edu>
Fri, 19 Jul 2013 17:25:52 +0000 (13:25 -0400)
debian/changelog
templatize-xend-config

index cf94a94..49474f9 100644 (file)
@@ -1,3 +1,9 @@
+invirt-xen-config (0.0.39) unstable; urgency=low
+
+  * Treat config.hosts.internal_ips as an array
+
+ -- Peter Iannucci <iannucci@mit.edu>  Mon, 01 Jul 2013 21:51:00 -0400
+
 invirt-xen-config (0.0.38~glasgall15) precise; urgency=low
 
   * Teach qemu-dm-invirt that /usr/lib/xen moved to /usr/lib/xen-4.1
index 41fc9cc..1dc1a3a 100755 (executable)
@@ -8,7 +8,7 @@ internal_ip = None
 # This hack is necessary because cfg.hosts is an array rather than a dict.
 for host in cfg.hosts:
   if host.hostname == fqdn:
-    internal_ip = host.internal_ip
+    internal_ip = host.internal_ips[0]
     break
 
 class xend_template_exception(Exception): pass