diff options
author | Martin Basti <mbasti@redhat.com> | 2016-04-13 16:14:42 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-04-14 13:53:27 +0200 |
commit | 70fd78928cb874006f218ae4e7aca00e0babf99a (patch) | |
tree | 6e9a51b711bb5bff59eb4e96afa366fcc4f0c1ff /ipaplatform | |
parent | 62bb478e112cd4677e681f4750c5f5e5c9221607 (diff) | |
download | freeipa-70fd78928cb874006f218ae4e7aca00e0babf99a.tar.gz freeipa-70fd78928cb874006f218ae4e7aca00e0babf99a.tar.xz freeipa-70fd78928cb874006f218ae4e7aca00e0babf99a.zip |
Use netifaces module instead of 'ip' command
Netifaces allows to get addresses from local interfaces of the host in
safer way than parsing output of the ip command.
https://fedorahosted.org/freeipa/ticket/5591
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaplatform')
-rw-r--r-- | ipaplatform/base/paths.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index 1b79015e4..4aa55d870 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -140,7 +140,6 @@ class BasePathNamespace(object): CACERT_P12 = "/root/cacert.p12" ROOT_IPA_CSR = "/root/ipa.csr" NAMED_PID = "/run/named/named.pid" - IP = "/sbin/ip" NOLOGIN = "/sbin/nologin" SBIN_REBOOT = "/sbin/reboot" SBIN_RESTORECON = "/sbin/restorecon" |