Fix a few issues with the grub hook
authorIustin Pop <iustin@google.com>
Wed, 9 May 2012 03:45:41 +0000 (05:45 +0200)
committerIustin Pop <iustin@google.com>
Wed, 9 May 2012 06:57:09 +0000 (08:57 +0200)
commit33029bf14bc04e30f59f43b42622c051f7fc7e59
tree8c1a390f64376612334903e376ba9574f9e74d21
parent1671970fc86e8502452e684d4d9a79a57a014203
Fix a few issues with the grub hook

This patch:

- updates the comments (no need for explicit EXTRA_PKGS)
- export the proxy if the instance-debootstrap environment defines it
- sets the debconf frontend to non-interactive (I've seen it go into a
  loop otherwise)

I still can't create a grub install, because grub-probe doesn't want
to use LVM names nicely, but that's another issue.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
examples/hooks/grub