support for preseeding the password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Fix Released
|
Wishlist
|
Colin Watson |
Bug Description
Here's the patch, or at least the first _untested_ version of it, to add
preseeding support for the grub password. Admin has to set one or two keys
grub-installer/
for the password and optionally
grub-installer/
to specify if it is encrypted. Actually, I think it might be stupid to allow
preseeding unencrypted passwords, because menu.lst is world readable... But this
patch allows it.
After update_grub is run /target/
postinst checks if grub-installer/
is made for grub-installer/
password_opts is set. Then it echos the full line to a file, and a sed-line
appends this line after the "# password" -line. This is the only way that _I_
got it working ;)
Created an attachment (id=2441)
patch for preseeding grub password
this is against upstream svn, checked yesterday.