[Libguestfs] [PATCH 0/8] v2v: first bits of Debian/Ubuntu guests supports

Pino Toscano ptoscano at redhat.com
Mon Aug 8 16:38:47 UTC 2016


Hi,

this series implements the first bits in v2v to convert Debian/Ubuntu
(and derived) guests.  The series does not complete the support (see
known issues below), but all the patches here should be fit for review
and inclusion.  The series does not enable the conversion, yet.

Known issues:

* there is no grubby nor Bootloader::Tools Perl module available in
  Debian, so there is no way to know what is the default kernel;
  parsing the Grub2 configuration is not exactly an easy task either

* currently tested with simple local guest images, hence needs testing
  with real guests on libvirt/VMware/Xen/VirtualBox/etc (which have
  various tools to be removed/tweaked)

* is tweaking the "enterprise-linux" module the correct/wanted way?
  should it be renamed to just "linux" then?

* surely something else I'm missing

Thanks,


Pino Toscano (8):
  v2v: refactor Linux.remove
  v2v: add basic support for the "deb" package manager
  v2v: linux: identify Debian-based distros as `Debian_family
  v2v: linux: add /boot/grub/grub.cfg as Grub2 config
  v2v: linux: check also kernel config for modules
  v2v: linux: check the kernel package name for Debian
  v2v: linux: adapt initrd name for Debian
  v2v: linux: correctly reconfigure the initrd on Debian

 v2v/convert_linux.ml | 39 +++++++++++++++++++++++++++++++++------
 v2v/linux.ml         | 52 +++++++++++++++++++++++++++++++++++++++-------------
 2 files changed, 72 insertions(+), 19 deletions(-)

-- 
2.7.4




More information about the Libguestfs mailing list