From a7bd01df4b619b880b165cf53e1c019ee407357b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 18 May 2009 13:15:28 -0700 Subject: [PATCH] xenserver: Choose correct management PIF even with --force. The --force option was failing to choose the management PIF based on the "management" PIF field. This commit fixes the problem. This is a partial fix for bug #1327. --- xenserver/opt_xensource_libexec_interface-reconfigure | 1 + 1 file changed, 1 insertion(+) diff --git a/xenserver/opt_xensource_libexec_interface-reconfigure b/xenserver/opt_xensource_libexec_interface-reconfigure index f6458405..00f34556 100755 --- a/xenserver/opt_xensource_libexec_interface-reconfigure +++ b/xenserver/opt_xensource_libexec_interface-reconfigure @@ -1042,6 +1042,7 @@ def main(argv=None): db = DatabaseCache(cache_file=dbcache_file) host = db.extras['host'] pif = db.get_pif_by_bridge(host, force_interface) + management_pif = db.get_management_pif(host) if action == "up": action_up(pif) -- 2.30.2