Revision 3b6d8c9b lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
2997 | 2997 |
raise errors.OpPrereqError("OS '%s' not in supported os list for" |
2998 | 2998 |
" primary node" % self.op.os_type) |
2999 | 2999 |
|
3000 |
if self.op.kernel_path == constants.VALUE_NONE: |
|
3001 |
raise errors.OpPrereqError("Can't set instance kernel to none") |
|
3002 |
|
|
3000 | 3003 |
# instance verification |
3001 | 3004 |
hostname1 = utils.HostInfo(self.op.instance_name) |
3002 | 3005 |
|
... | ... | |
3087 | 3090 |
disk_template=self.op.disk_template, |
3088 | 3091 |
status=self.instance_status, |
3089 | 3092 |
network_port=network_port, |
3093 |
kernel_path=self.op.kernel_path, |
|
3094 |
initrd_path=self.op.initrd_path, |
|
3090 | 3095 |
) |
3091 | 3096 |
|
3092 | 3097 |
feedback_fn("* creating instance disks...") |
Also available in: Unified diff