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 > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 12-10-2010, 08:23 PM
David Lehman
 
Default Don't try to parse network device info when doing disk image installs.

---
pyanaconda/kickstart.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index bb625ae..df7b1af 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -573,6 +573,13 @@ class Logging(commands.logging.FC6_Logging):

class NetworkData(commands.network.F8_NetworkData):
def execute(self, anaconda):
+ if flags.imageInstall:
+ if self.hostname != "":
+ anaconda.network.setHostname(self.hostname)
+ anaconda.network.overrideDHCPhostname = True
+
+ # Only set hostname
+ return

devices = anaconda.network.netdevices

--
1.7.3.2

_______________________________________________
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 10:28 AM.

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