git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VCDN-333: Node Statistics selected incorrect interface and accordingly COMON gets...
[myplc.git]
/
dns-config
diff --git
a/dns-config
b/dns-config
index
aaaa3f2
..
b2fa1e7
100755
(executable)
--- a/
dns-config
+++ b/
dns-config
@@
-66,7
+66,9
@@
def main():
if interface['hostname']:
hostname = interface['hostname']
- else:
+ else:
+ if not interface['is_primary']:
+ continue
hostname = nodes[interface['node_id']]['hostname']
if hosts.has_key(interface['ip']):