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

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



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


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