Changeset 118 for trunk


Ignore:
Timestamp:
04/10/08 18:51:58 (16 years ago)
Author:
bas
Message:

pxeconfig.in:

  • Convert pxeconfig directory to realpath
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changelog

    r117 r118  
    1717   Implemented by : Bas van der Vlies
    1818
    19  - Fixed a bug when pxeconfig directory was set in pxeconfig.conf it was not
    20    used at all.
     19 - Various bugs fixed with setting pxeconfig directory in pxeconfig.conf:
     20   - Setting of the pxeconfig directory in config file did not have any effect
     21   - Convert pxeconfig directory to realpath else os.chdir fails
    2122   Author: Bas van der Vlies
    2223
  • trunk/pxeconfig.in

    r117 r118  
    3232Usage: pxeconfig
    3333
    34  [-r|--remove] -f|--file <filename>] [hostname(s)
    35  [-r|--remove] -i|--interactive
    36  [-r|--remove] -n|--net <C-net> -s|--start <number> -e|--end <number> -f|--file <filename>
    37  [-r|--remove] -b|--basename <string> s|--start <number> -e|--end <number> -f|--file <filename>
     34 [optional] -f|--file <filename> <hostname(s)>
     35 [optional] -i|--interactive
     36 [optional] -n|--net <C-net> -s|--start <number> -e|--end <number> -f|--file <filename>
     37 [optional] -b|--basename <string> s|--start <number> -e|--end <number> -f|--file <filename>
    3838 -V|--version
     39
     40options:
     41 -r,--remove
     42 -w,--equal-width
    3943
    4044With this program you can configure which PXE configuration file a node
     
    176180           start number, end number
    177181  """
     182  print PXE_CONF_DIR
    178183  os.chdir(PXE_CONF_DIR)
    179184  naddr = dict[NETWORK]
     
    467472                pass
    468473
     474        PXE_CONF_DIR = os.path.realpath(PXE_CONF_DIR)
    469475        if not os.path.isdir(PXE_CONF_DIR):
    470476                print 'pxeconfig directory: %s does not exists' %(PXE_CONF_DIR)
Note: See TracChangeset for help on using the changeset viewer.