--- /usr/share/pyshared/VMBuilder/plugins/ubuntu/dapper.py.orig 2012-10-19 15:43:30.149339398 +0300 +++ /usr/share/pyshared/VMBuilder/plugins/ubuntu/dapper.py 2012-10-19 16:13:45.309289300 +0300 @@ -300,7 +300,9 @@ return (mirror, updates_mirror, security_mirror) def install_kernel(self, destdir): + self.run_in_target('mount', '-t', 'proc', 'proc', '/proc') run_cmd('chroot', destdir, 'apt-get', '--force-yes', '-y', 'install', self.kernel_name(), env={ 'DEBIAN_FRONTEND' : 'noninteractive' }) + run_cmd('umount', '%s/proc' % self.context.chroot_dir) def install_grub(self, chroot_dir): self.install_from_template('/etc/kernel-img.conf', 'kernelimg', { 'updategrub' : self.updategrub })