Changeset 68562da7dfe4737bbb31946295181c8b0764e5f7

Show
Ignore:
Timestamp:
02/06/09 13:20:27 (3 years ago)
Author:
Frederic Lepied <frederic.lepied@…>
Children:
d8ce27d47432d7a952398761c3c0fc9b2b94d025
Parents:
d24f377aeb6c2d15f0326753551ca2e7bb84c7bf
git-committer:
Frederic Lepied <frederic.lepied@…> (02/06/09 13:20:27)
Message:

check if the local profile is present

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pxe/syncbootnames

    r1f8d77d r68562da  
    2121        list.append(f[:-l]) 
    2222 
     23if 'local' not in list: 
     24    print 'error local profile not present. Add it with a content like this:' 
     25    print 
     26    print '''prompt 0 
     27timeout 0 
     28default 0 
     29 
     30label 0 
     31  LOCALBOOT 0 
     32''' 
     33 
    2334for b in BootName.objects.all(): 
    2435    if b.available: