Bug 9581

Summary: VagrantFile provisioning step fails due to issue with grub-pc update
Product: buildroot Reporter: Robin Iddon <robiniddon>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: 2016.11   
Target Milestone: ---   
Hardware: All   
OS: Mac OS   
Host: Target:
Build:
Attachments: Patch to correct provisioning step in Vagrantfile

Description Robin Iddon 2017-01-12 23:00:36 UTC
Created attachment 6851 [details]
Patch to correct provisioning step in Vagrantfile

If you follow the steps in the manual to launch vagrant (download VagrantFile, run vagrant up) then the resulting VirtualBox VM hangs during the provisioning because the grub-pc update is asking a question but there is no interactive context in which the user can answer it.

The solution is to run the apt-get update with not only -y but also some magic options that make sure it really doesn't ask any questions.

The issue is described here:

http://askubuntu.com/questions/146921/how-do-i-apt-get-y-dist-upgrade-without-a-grub-config-prompt

I attach a patch that makes it so.