From 4e7bb008effe92a4e06a2d104cbd1ea0d19a5db6 Mon Sep 17 00:00:00 2001 From: Troy Toman Date: Fri, 13 Jul 2012 17:22:23 -0500 Subject: bug 1024557 De-dupes the list of DNS IPs that is put in the xenstore for network configuration Added a duplicate DNS IP in the fake_network to create a valid test. Change-Id: I25a00c7e47578b1667992aa4bad879667198465a --- nova/virt/xenapi/vmops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/virt') diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index f9958ff4c..687ec0b65 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -1265,7 +1265,7 @@ class VMOps(object): info_dict['routes'] = routes if dns: - info_dict['dns'] = dns + info_dict['dns'] = list(set(dns)) return info_dict -- cgit