diff --git a/providers/virtualbox/tasks/packages.py b/providers/virtualbox/tasks/packages.py index 207f356..e1c0d65 100644 --- a/providers/virtualbox/tasks/packages.py +++ b/providers/virtualbox/tasks/packages.py @@ -11,7 +11,7 @@ class HostPackages(Task): after = [packages.HostPackages] def run(self, info): - info.host_packages.update(['qemu-utils', 'parted', 'grub2', 'sysv-rc', 'kpartx']) + info.host_packages.update(['qemu-utils', 'parted', 'kpartx', 'sysv-rc']) if 'xfs' in (p.filesystem for p in info.volume.partition_map.partitions): info.host_packages.add('xfsprogs') @@ -25,20 +25,7 @@ class ImagePackages(Task): manifest = info.manifest include, exclude = info.img_packages # Add some basic packages we are going to need - include.update(['parted', - 'kpartx', - # Needed for the init scripts - 'file', - # isc-dhcp-client doesn't work properly with ec2 - 'dhcpcd', - 'chkconfig', - 'openssh-client', - 'grub2' - ]) - - exclude.update(['isc-dhcp-client', - 'isc-dhcp-common', - ]) + include.update(['grub2']) # In squeeze, we need a special kernel flavor for xen kernels = {'squeeze': {'amd64': 'linux-image-amd64',