summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
13c2458)
The new QA tests for instance modify uncovered a bug in the modify
initrd operation when setting the initrd to none.
Reviewed-by: imsnah
self.do_initrd_path = True
if self.initrd_path not in (constants.VALUE_NONE,
constants.VALUE_DEFAULT):
self.do_initrd_path = True
if self.initrd_path not in (constants.VALUE_NONE,
constants.VALUE_DEFAULT):
- if not os.path.isabs(self.kernel_path):
+ if not os.path.isabs(self.initrd_path):
raise errors.OpPrereqError("The initrd path must be an absolute"
" filename")
else:
raise errors.OpPrereqError("The initrd path must be an absolute"
" filename")
else: