[PATCH] Do not drive over network config files for livecd installs (#479893)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If we're doing a live CD install, back out of the network.write()
method before we destroy anything.
---
 network.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/network.py b/network.py
index b50605e..98cde5d 100644
--- a/network.py
+++ b/network.py
@@ -516,6 +516,9 @@ class Network:
         return False
 
     def write(self, instPath='', anaconda=None):
+        if flags.livecdInstall:
+            return
+
         if len(self.netdevices.values()) == 0:
             return
 
-- 
1.6.0.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux