Trevor Hemsley wrote:
> Having just spent about 2 hours trying to work out how to add a
> 
> password --md5 $1$Qejy8/$.qFUuDeYL.cuSDpN1ZD.S1
> 
> line to my grub.conf I thought it would be worth sharing how I finally
> got it to work.
> 
>         augeas {"/boot/grub/grub.conf":
>                 context => "/files/boot/grub/grub.conf",
>                 changes => [ "set timeout 15",
>                                 'set password/md5 null',
>                                 'set password
> $1$Qejy8/$.qFUuDeYL.cuSDpN1ZD.S1'
>                         ]
>                 }
> 
> Also the grub lens only works if /boot/grub/grub.conf resides on the
> same file system as /etc otherwise augtool craps out with an error about
> being unable to save a cross file system link. Short of editing the lens
> file, I'm not sure how to solve that one. If anyone knows how to fix
> that without the edit then that would be great :)
> 
Can you post this over on the augeas list[1]? Thanks!

[1] http://www.augeas.net/developers.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to