[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)
- From: David Cantrell <dcantrell redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Do not drive over network config files for livecd installs (#479893)
- Date: Tue, 13 Jan 2009 11:40:25 -1000
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]