Hi,
I am trying to edit each kernel entry of /etc/grub.conf with augeas.
It seems that the only way in augeas to modify or create multiple nodes is
with the setm command.
This works fine as long as the new nodes have values. How could nodes be
defined with no values ?
Say, for example, that you want to add the noapic parameter to each kernel
entry in /etc/grub.conf :
kernel /vmlinuz-2.6.18-194.17.4.el5 ro root=/dev/volgroup01/root noapic
I tried using setm /files/etc/grub.conf/title[*]/kernel noapic "" but
predictably an equal sign is added as "" is seen as the "" value instead of
nothing. In my opinion it could be done if there was a way to differentiate
between an empty value ("") and nothing or with a clearm command similar to
setm.
Any idea ?
Thanks
Jonathan
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel