- Timestamp:
- 02/21/02 14:21:52 (22 years ago)
- Location:
- trunk/pxeconfig
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pxeconfig/INSTALL
r5 r6 24 24 Connection closed by foreign host. 25 25 26 In syslog a line will be added if the removal is succesful: 27 Feb 20 09:32:40 test pxeconfigd: /tftpboot/pxelinux.cfg/7F000001 28 26 29 27 30 4) As you can see '/tftpboot/pxelinux.cfg/' is the default directory. If … … 32 35 33 36 34 If the daemon work and you want to install/reinstall a node a link37 If the daemon works and you want to install/reinstall a node a link 35 38 must be placed in the '/tftpboot/pxelinux.cfg' directory. This can 36 39 be done with the 'pxeconfig' utility. This utility will ask some 37 question and make the links for you. iThe utility require the following40 question and make the links for you. The utility require the following 38 41 setup: 39 42 1) All the pxe configuration files must start with preamble 'default.' … … 49 52 pxeconfig -d /<some>/<other>/<place> 50 53 51 The last utility is 'hexls'. This utility will displa tthe hex pxe config54 The last utility is 'hexls'. This utility will display the hex pxe config 52 55 file with the corresponding ip-addres. 56 57 58 To activate this on a client tou must add the this line to the 'master' 59 script of the node. It will remove the pxe config file for the node 60 on the bootserver. I personally place the line just before the network 61 interface will be brought down: 62 # Remove the <hex_ipaddr> file from the pxelinux.cfg directory. 63 # So the client will boot from disk 64 # 65 telnet $IMAGESERVER 10000 53 66 54 67 Commens or Suggestions mail them to: -
trunk/pxeconfig/changelog
r5 r6 1 Always edit this file when changes are commited:a 2 1 Always edit this file when changes are commited: 3 2 4 3 $Log: changelog,v $ 4 Revision 1.5 2002/02/21 13:21:51 sscpbas 5 Added the license info to each utility and fix and error in the getopt 6 handling for pxeconfig utility 7 5 8 Revision 1.4 2002/02/20 12:43:18 sscpbas 6 9 Update the docs and added the INSTALL file -
trunk/pxeconfig/hexls
r3 r6 1 1 #! /usr/bin/env python 2 # Copyright (C) 2000, SARA. 3 # 4 # Permission to use, copy, modify, and distribute this software and its 5 # documentation for non-commercial purposes and without fee is hereby 6 # granted, provided that the above copyright notice appears in all copies 7 # and that both the copyright notice and this permission notice appear in 8 # supporting documentation. 9 # 10 # Neither SARA (Stichting Academisch Rekencentrum Amsterdam) nor the 11 # nor the author make any representations about the suitability of this 12 # software for any purpose. This software is provided ``as is'' without 13 # express or implied warranty. 14 # 15 # 2 16 ''' 3 17 hexls.py - Lists directory contents, but converts the hexadecimal IP numbers … … 8 22 9 23 CVS info 10 $Date: 2002/02/ 19 09:38:10$11 $Revision: 1. 1$24 $Date: 2002/02/21 13:21:51 $ 25 $Revision: 1.2 $ 12 26 ''' 13 27 -
trunk/pxeconfig/pxeconfig
r4 r6 7 7 # 8 8 # CVS info 9 # $Date: 2002/02/19 09:57:40 $ 10 # $Revision: 1.3 $ 9 # $Date: 2002/02/21 13:21:51 $ 10 # $Revision: 1.4 $ 11 # 12 # Copyright (C) 2000, SARA. 13 # 14 # Permission to use, copy, modify, and distribute this software and its 15 # documentation for non-commercial purposes and without fee is hereby 16 # granted, provided that the above copyright notice appears in all copies 17 # and that both the copyright notice and this permission notice appear in 18 # supporting documentation. 19 # 20 # Neither SARA (Stichting Academisch Rekencentrum Amsterdam) nor the 21 # nor the author make any representations about the suitability of this 22 # software for any purpose. This software is provided ``as is'' without 23 # express or implied warranty. 24 # 11 25 # 12 26 """ … … 173 187 iptable[network].append(int(end)) 174 188 175 176 189 for net in iptable.keys(): 177 190 if DEBUG: … … 179 192 create_links(iptable[net]) 180 193 194 181 195 def check_args(argv): 182 196 """ 183 Must we use another directory for the PXE configuration 197 command line option: 198 -d/--directory <dir> 199 Where <dir> is the directory where the pxe config files reside. 184 200 """ 185 201 global PXE_CONF_DIR … … 187 203 opts, args = getopt.getopt(argv[1:], SHORTOPT_LIST, LONGOPT_LIST) 188 204 except getopt.error, detail: 189 print __doc__205 print check_args.__doc__ 190 206 print detail 191 207 sys.exit(1) -
trunk/pxeconfig/pxeconfigd
r4 r6 1 1 #!/usr/bin/env python 2 # Copyright (C) 2000, SARA. 3 # 4 # Permission to use, copy, modify, and distribute this software and its 5 # documentation for non-commercial purposes and without fee is hereby 6 # granted, provided that the above copyright notice appears in all copies 7 # and that both the copyright notice and this permission notice appear in 8 # supporting documentation. 9 # 10 # Neither SARA (Stichting Academisch Rekencentrum Amsterdam) nor the 11 # nor the author make any representations about the suitability of this 12 # software for any purpose. This software is provided ``as is'' without 13 # express or implied warranty. 14 # 15 # 2 16 """ 3 17 Author: Bas van der Vlies <basv@sara.nl> … … 17 31 18 32 CVS info 19 $Date: 2002/02/ 19 09:57:40$20 $Revision: 1. 3$33 $Date: 2002/02/21 13:21:52 $ 34 $Revision: 1.4 $ 21 35 """ 22 36 import time
Note: See TracChangeset
for help on using the changeset viewer.