Revision d1e9c98d lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
428 | 428 |
raise errors.OpPrereqError("Invalid default iallocator script '%s'" |
429 | 429 |
" specified" % default_iallocator, |
430 | 430 |
errors.ECODE_INVAL) |
431 |
elif constants.HTOOLS: |
|
432 |
# htools was enabled at build-time, we default to it |
|
433 |
if utils.FindFile(constants.IALLOC_HAIL, |
|
434 |
constants.IALLOCATOR_SEARCH_PATH, |
|
435 |
os.path.isfile): |
|
436 |
default_iallocator = constants.IALLOC_HAIL |
|
431 | 437 |
|
432 | 438 |
now = time.time() |
433 | 439 |
|
Also available in: Unified diff