Here is a simple work around for the time being:

    [ -b /dev/xvda ] && {
          echo "grub-pc grub-pc/install_devices string /dev/xvda" \
             debconf-set-selections
          echo "grub-pc grub-pc/install_devices_empty boolean false" \
             debconf-set-selections
    }

(This will check if /dev/xvda is a block device and then tell dpkg to
use the right device for installing grub)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1336855

Title:
  non-interactive grub updates for 12.04 break on AWS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1336855/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to