From 4ce2a5f8dff66d0c3519ed87fb45e6e3f3308ed9 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Tue, 8 Oct 2013 18:40:15 -0400 Subject: [PATCH] Second attempt at preventing ipv6 route enumeration on EL4 machines --- system/setup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/setup b/system/setup index 714e7e39896..0cc39fdc511 100755 --- a/system/setup +++ b/system/setup @@ -1370,6 +1370,9 @@ class LinuxNetwork(Network): ) interface = dict(v4 = {}, v6 = {}) for v in 'v4', 'v6': + if v == 'v6' and self.facts['os_family'] == 'RedHat' \ + and self.facts['distribution_version'].startswith('4.'): + continue if v == 'v6' and not socket.has_ipv6: continue rc, out, err = module.run_command(command[v])