X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/324594147fc6f7d02bfdd3896e2cd25e34092525..18f0d4c89f941272c8da5eb3d0ee19cafbca49ac:/templatize-xend-config?ds=sidebyside diff --git a/templatize-xend-config b/templatize-xend-config index 41fc9cc..1dc1a3a 100755 --- a/templatize-xend-config +++ b/templatize-xend-config @@ -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