Revision 8cafeb26 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
4150 | 4150 |
if not os.path.isabs(self.kernel_path): |
4151 | 4151 |
raise errors.OpPrereError("The kernel path must be an absolute" |
4152 | 4152 |
" filename") |
4153 |
else: |
|
4154 |
self.do_kernel_path = False |
|
4153 | 4155 |
|
4154 | 4156 |
if self.initrd_path is not None: |
4155 | 4157 |
self.do_initrd_path = True |
... | ... | |
4158 | 4160 |
if not os.path.isabs(self.kernel_path): |
4159 | 4161 |
raise errors.OpPrereError("The initrd path must be an absolute" |
4160 | 4162 |
" filename") |
4163 |
else: |
|
4164 |
self.do_initrd_path = False |
|
4161 | 4165 |
|
4162 | 4166 |
instance = self.cfg.GetInstanceInfo( |
4163 | 4167 |
self.cfg.ExpandInstanceName(self.op.instance_name)) |
Also available in: Unified diff