summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormdehaan@mdehaan.rdu.redhat.com <>2006-12-22 11:18:25 -0500
committerJim Meyering <jim@meyering.net>2006-12-22 11:18:25 -0500
commit00ab938524a9b45bfac7a5a1965ab1692fad4ec6 (patch)
tree226f1863af5c661bf57d47815229be9c19a9c450
parent10ad449671f383177b2ee51ecbd7dfd98b613339 (diff)
downloadcobbler-00ab938524a9b45bfac7a5a1965ab1692fad4ec6.tar.gz
cobbler-00ab938524a9b45bfac7a5a1965ab1692fad4ec6.tar.xz
cobbler-00ab938524a9b45bfac7a5a1965ab1692fad4ec6.zip
Remove xen package install, it should already be there. (libvirt-python should be too,
but we're playing it safe).
-rw-r--r--cobbler/action_enchant.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/cobbler/action_enchant.py b/cobbler/action_enchant.py
index 3007c5d3..a911c94d 100644
--- a/cobbler/action_enchant.py
+++ b/cobbler/action_enchant.py
@@ -81,11 +81,12 @@ class Enchant:
try:
self.ssh_exec("wget http://%s/cobbler/%s" % (self.settings.server, koan))
- # koan doesn't require libvirt, but uses it for koan --virt options if available
- # so, if --virt is requested, we have to make sure it's installed.
+ # koan doesn't require libvirt-python, but uses it for koan --virt options if available
+ # so, if --virt is requested, we have to make sure it's installed. It's probably
+ # reasonable to just assume it /IS/ installed though as Xen kernel usage is required.
extra_virt_packages = ""
if self.is_virt:
- extra_virt_packages = " libvirt-python libvirt xen"
+ extra_virt_packages = " libvirt-python libvirt"
# package installation without knowing whether the target is yum-based or not
self.ssh_exec("up2date install syslinux%s" % (extra_virt_packages), catch_fail=False)
self.ssh_exec("yum -y install syslinux%s" % (extra_virt_packages), catch_fail=False)