[Libguestfs] [PATCH v4 2/2] v2v: bootloaders: Remove call to g#aug_transform.

Richard W.M. Jones rjones at redhat.com
Wed Nov 2 15:01:09 UTC 2016


Let's fix this in Augeas upstream instead of hacking around it
in libguestfs.
---
 v2v/linux_bootloaders.ml | 4 ----
 1 file changed, 4 deletions(-)

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




More information about the Libguestfs mailing list