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 > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-07-2011, 10:18 AM
Vratislav Podzimek
 
Default do not care about wifi connections in kickstart (already active from stage1)

---
pyanaconda/kickstart.py | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index a0adaa3..7bd09c0 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -562,6 +562,10 @@ class NetworkData(commands.network.F16_NetworkData):
# Only set hostname
return

+ # we can ignore this here (already activated in stage 1)
+ if self.essid:
+ return
+
devices = self.anaconda.network.netdevices

if not self.device:
@@ -651,14 +655,6 @@ class NetworkData(commands.network.F16_NetworkData):
if self.ethtool:
dev.set(("ETHTOOL_OPTS", self.ethtool))

- if isys.isWirelessDevice(device):
- if self.essid:
- dev.set(("ESSID", self.essid))
- if self.wepkey:
- dev.set(("DEFAULTKEY", "1"))
- dev.wepkey = self.wepkey
- dev.writeWepkeyFile()
-
if self.nameserver != "":
self.anaconda.network.setDNS(self.nameserver, dev.iface)

--
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-23-2011, 07:36 AM
Vratislav Podzimek
 
Default do not care about wifi connections in kickstart (already active from stage1)

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

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 0d3db65..40d99b9 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -582,6 +582,13 @@ class NetworkData(commands.network.F16_NetworkData):
# Only set hostname
return

+ # we can ignore this here (already activated in stage 1)
+ # only set hostname
+ if self.essid:
+ if self.hostname != "":
+ self.anaconda.network.setHostname(self.hostname)
+ return
+
devices = self.anaconda.network.netdevices

if not self.device:
@@ -671,14 +678,6 @@ class NetworkData(commands.network.F16_NetworkData):
if self.ethtool:
dev.set(("ETHTOOL_OPTS", self.ethtool))

- if isys.isWirelessDevice(device):
- if self.essid:
- dev.set(("ESSID", self.essid))
- if self.wepkey:
- dev.set(("DEFAULTKEY", "1"))
- dev.wepkey = self.wepkey
- dev.writeWepkeyFile()
-
if self.nameserver != "":
self.anaconda.network.setDNS(self.nameserver, dev.iface)

--
1.7.4.4

_______________________________________________
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:20 PM.

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