From fa8ca9a81982f43171c2bf00cd1b88ae72b4c05a Mon Sep 17 00:00:00 2001 From: Christoph Seitz Date: Tue, 24 Jul 2012 11:10:11 +0200 Subject: [PATCH] Fixes locale problem with ifconfig in setup module --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index e28d69791ae..6a5fb9b91dc 100755 --- a/setup +++ b/setup @@ -455,7 +455,7 @@ class LinuxNetwork(Network): for iface in self.facts['interfaces']: # This is lame, but there doesn't appear to be a good way # to get all addresses for both IPv4 and IPv6. - cmd = subprocess.Popen("/sbin/ifconfig %s" % iface, shell=True, + cmd = subprocess.Popen("env LANG=\"\" /sbin/ifconfig %s" % iface, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = cmd.communicate() for line in out.split('\n'):