Let's fix this in Augeas upstream instead of hacking around it in libguestfs. --- docs/guestfs-building.pod | 3 +++ v2v/linux_bootloaders.ml | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/guestfs-building.pod b/docs/guestfs-building.pod index 0593acb..0e81f70 100644 --- a/docs/guestfs-building.pod +++ b/docs/guestfs-building.pod @@ -157,6 +157,9 @@ I<Required>. I<Required>. +Augeas E<ge> 1.7.0 may be necessary to correctly convert certain +guests using virt-v2v. + =item xz I<Required>. diff --git a/v2v/linux_bootloaders.ml b/v2v/linux_bootloaders.ml index 9160dcc..ec32715 100644 --- a/v2v/linux_bootloaders.ml +++ b/v2v/linux_bootloaders.ml @@ -53,10 +53,6 @@ let remove_hd_prefix path = (* Grub1 (AKA grub-legacy) representation. *) class bootloader_grub1 (g : G.guestfs) inspect grub_config = - let () = - if grub_config = "/boot/efi/EFI/redhat/grub.conf" then - g#aug_transform "grub" "/boot/efi/EFI/redhat/grub.conf" in - (* Grub prefix? Usually "/boot". *) let grub_prefix = let mounts = g#inspect_get_mountpoints inspect.i_root in -- 2.9.3