Indeed, here's the diff between the /etc/default/grub in the precise AMI, and the default one provided by grub. So this is a bug with how the AMI is built, not a bug in the grub package which has no way to automatically merge this using ucf.
The AMI image build probably needs to inject the grub settings via debconf preseeding, so that ucf as shipped in the image knows the intended answers to the debconf questions.
Indeed, here's the diff between the /etc/default/grub in the precise AMI, and the default one provided by grub. So this is a bug with how the AMI is built, not a bug in the grub package which has no way to automatically merge this using ucf.
The AMI image build probably needs to inject the grub settings via debconf preseeding, so that ucf as shipped in the image knows the intended answers to the debconf questions.
--- etc/default/grub 2012-06-01 22:37:36.000000000 -0700 grub/default/ grub 2012-05-17 00:07:17.000000000 -0700
+++ /usr/share/
@@ -4,11 +4,11 @@
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0 HIDDEN_ TIMEOUT= 0 HIDDEN_ TIMEOUT_ QUIET=true TIMEOUT= 0 TIMEOUT_ QUIET=true OR=`lsb_ release -i -s 2> /dev/null || echo Debian` LINUX_DEFAULT= "console= ttyS0" LINUX_DEFAULT= "quiet splash" LINUX=" "
-#GRUB_
-#GRUB_
+GRUB_HIDDEN_
+GRUB_HIDDEN_
GRUB_TIMEOUT=10
GRUB_DISTRIBUT
-GRUB_CMDLINE_
+GRUB_CMDLINE_
GRUB_CMDLINE_
# Uncomment to enable BadRAM filtering, modify to suit your needs BADRAM= "0x01234567, 0xfefefefe, 0x89abcdef, 0xefefefef"
@@ -17,7 +17,7 @@
#GRUB_
# Uncomment to disable graphical terminal (grub-pc only) console TERMINAL= console
-GRUB_TERMINAL=
+#GRUB_
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE