git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for wireless interfaces.
[bootmanager.git]
/
source
/
steps
/
ReadNodeConfiguration.py
diff --git
a/source/steps/ReadNodeConfiguration.py
b/source/steps/ReadNodeConfiguration.py
index
295a365
..
59b5250
100644
(file)
--- a/
source/steps/ReadNodeConfiguration.py
+++ b/
source/steps/ReadNodeConfiguration.py
@@
-72,6
+72,9
@@
def Run( vars, log ):
dns2 IP_DNS2
hostname HOST_NAME
domainname DOMAIN_NAME
dns2 IP_DNS2
hostname HOST_NAME
domainname DOMAIN_NAME
+ -- wlan oriented --
+ ssid WLAN_SSID
+ iwconfig WLAN_IWCONFIG
the mac address is read from the machine unless it exists in the
configuration file.
the mac address is read from the machine unless it exists in the
configuration file.
@@
-445,6
+448,12
@@
def __parse_configuration_file( vars, log, file_contents ):
if name == "DISCONNECTED_OPERATION":
vars['DISCONNECTED_OPERATION']= value.strip()
if name == "DISCONNECTED_OPERATION":
vars['DISCONNECTED_OPERATION']= value.strip()
+ if name == "WLAN_SSID":
+ vars['ssid']= value.strip()
+
+ if name == "WLAN_IWCONFIG":
+ vars['iwconfig']= value.strip()
+
except IndexError, e:
log.write( "Unable to parse configuration file\n" )
except IndexError, e:
log.write( "Unable to parse configuration file\n" )