[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 1/5] Write ARP=yes to ifcfg file when VSWITCH=1 is set on s390x (#561926).



Ack.

On 02/10/2010 11:14 PM, David Cantrell wrote:
So this is a bit silly, but after much back and forth trying to figure
out what was happening on this bug, it was mentioned that we actually
need ARP=yes in the ifcfg file and not ARP=no.  ARP=yes is not the
default in ifup-eth, so we need to make sure this setting is enabled
for these device types on s390x.
---
  network.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/network.py b/network.py
index 83b9998..de36680 100644
--- a/network.py
+++ b/network.py
@@ -251,7 +251,7 @@ class NetworkDevice(SimpleConfigFile):

                  if ("VSWITCH" in keys) and (self.info["VSWITCH"] == "1"):
                      keys.append("ARP")
-                    self.info["ARP"] = "no"
+                    self.info["ARP"] = "yes"
          if "VSWITCH" in keys:
              keys.remove("VSWITCH")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]