From 471fa6859ef00a95780522af5173149482a1ba38 Mon Sep 17 00:00:00 2001 From: Stephen Fromm Date: Tue, 23 Apr 2013 09:13:46 -0700 Subject: [PATCH] Fix how interfaces is updated with interface fact Was broken when handling a bridge or bonded (possibly others) interface --- library/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/setup b/library/setup index 87c8f4b7bfb..44adf8231bc 100644 --- a/library/setup +++ b/library/setup @@ -1057,7 +1057,7 @@ class LinuxNetwork(Network): iface = words[-1] if iface != device: interfaces[iface] = {} - interfaces[iface].update(facts[device]) + interfaces[iface].update(interfaces[device]) interfaces[iface]['ipv4'] = {'address': address, 'netmask': netmask, 'network': network}