X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/324594147fc6f7d02bfdd3896e2cd25e34092525..ba2cbfd952ad6ef034730d81f7c79c71c7d674d9:/templatize-xend-config?ds=inline 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