Resolves: rhbz#1255801 --- pyanaconda/network.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/network.py b/pyanaconda/network.py index 5d8e6c3..4f440a2 100644 --- a/pyanaconda/network.py +++ b/pyanaconda/network.py @@ -1003,11 +1003,12 @@ def copyFileToPath(fileName, destPath='', overwrite=False):
# /etc/sysconfig/network-scripts/ifcfg-* # /etc/sysconfig/network-scripts/keys-* -# TODO: routing info from /etc/sysconfig/network-scripts? +# static routes +# /etc/sysconfig/network-scripts/route-* def copyIfcfgFiles(destPath): files = os.listdir(netscriptsDir) for cfgFile in files: - if cfgFile.startswith(("ifcfg-","keys-")): + if cfgFile.startswith(("ifcfg-","keys-", "route-")): srcfile = os.path.join(netscriptsDir, cfgFile) copyFileToPath(srcfile, destPath)
On Wed, Mar 30, 2016 at 04:17:13PM +0200, Radek Vykydal wrote:
Resolves: rhbz#1255801
pyanaconda/network.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/network.py b/pyanaconda/network.py index 5d8e6c3..4f440a2 100644 --- a/pyanaconda/network.py +++ b/pyanaconda/network.py @@ -1003,11 +1003,12 @@ def copyFileToPath(fileName, destPath='', overwrite=False):
# /etc/sysconfig/network-scripts/ifcfg-* # /etc/sysconfig/network-scripts/keys-* -# TODO: routing info from /etc/sysconfig/network-scripts? +# static routes +# /etc/sysconfig/network-scripts/route-* def copyIfcfgFiles(destPath): files = os.listdir(netscriptsDir) for cfgFile in files:
if cfgFile.startswith(("ifcfg-","keys-")):
if cfgFile.startswith(("ifcfg-","keys-", "route-")): srcfile = os.path.join(netscriptsDir, cfgFile) copyFileToPath(srcfile, destPath)
-- 2.4.3 _______________________________________________ anaconda-patches mailing list anaconda-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/anaconda-patches@lists.fedorahost...
ACK
anaconda-patches@lists.fedorahosted.org