projects
/
invirt/packages/invirt-xen-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix PVHVM networking
[invirt/packages/invirt-xen-config.git]
/
templatize-xend-config
diff --git
a/templatize-xend-config
b/templatize-xend-config
index
41fc9cc
..
1dc1a3a
100755
(executable)
--- 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