FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 01-13-2009, 08:40 PM
David Cantrell
 
Default 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

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

Thread Tools




All times are GMT. The time now is 01:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org