Changeset 68562da7dfe4737bbb31946295181c8b0764e5f7
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r1f8d77d
|
r68562da
|
|
| 21 | 21 | list.append(f[:-l]) |
| 22 | 22 | |
| | 23 | if 'local' not in list: |
| | 24 | print 'error local profile not present. Add it with a content like this:' |
| | 25 | print |
| | 26 | print '''prompt 0 |
| | 27 | timeout 0 |
| | 28 | default 0 |
| | 29 | |
| | 30 | label 0 |
| | 31 | LOCALBOOT 0 |
| | 32 | ''' |
| | 33 | |
| 23 | 34 | for b in BootName.objects.all(): |
| 24 | 35 | if b.available: |