The one grub/grub2 common configuration file augeas recognizes is device.map. However, some distributions (such as SUSE) place device.map in /boot/grub2 for grub2 environments. This patch causes the lense to find this file under any /boot subdirectory. (This approach seems more appropriate than adding /boot/grub2/device.map to the incl list, but either one works.)
--- lenses/device_map.aug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lenses/device_map.aug b/lenses/device_map.aug index cb43206..bd1825d 100644 --- a/lenses/device_map.aug +++ b/lenses/device_map.aug @@ -21,7 +21,7 @@ module Device_map = let lns = ( empty | comment | map ) * - let xfm = transform lns (incl "/boot/grub/device.map") + let xfm = transform lns (incl "/boot/*/device.map") (* Local Variables: *) (* mode: caml *) -- 1.8.4.5 _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
