File fix-koan-missing-args-and-location.patch of Package koan
22
1
Index: koan-2.9.0/koan/virtinstall.py
2
===================================================================
3
--- koan-2.9.0.orig/koan/virtinstall.py
4
+++ koan-2.9.0/koan/virtinstall.py
5
6
elif oldstyle_accelerate:
7
cmd += "--accelerate "
8
9
- if virt_pxe_boot or is_xen:
10
+ if virt_pxe_boot:
11
cmd += "--pxe "
12
elif cdrom:
13
cmd += "--cdrom %s " % cdrom
14
elif location:
15
cmd += "--location %s " % location
16
- if is_qemu and extra and not(virt_pxe_boot) and not(disable_extra):
17
+ if ((is_qemu or is_xen)
18
+ and extra and not(virt_pxe_boot) and not(disable_extra)):
19
cmd += ("--extra-args=\"%s\" " % (extra))
20
elif importpath:
21
cmd += "--import "
22