mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
Add LANG for ifconfig
Adding Language for the ifconfig-command as the regex wouldnt match in other languagesets
This commit is contained in:
parent
d40e1395c5
commit
f3159b78a3
@ -68,6 +68,8 @@ get_gateway() {
|
||||
|
||||
get_interfaces() {
|
||||
IFCMD="/sbin/ifconfig -a"
|
||||
|
||||
LANG=C
|
||||
|
||||
$IFCMD | grep ^eth | sed 's/ *Link encap:Ethernet.*HWaddr /-/g'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user