Skip to content

Commit

Permalink
Work around chef/bento#661
Browse files Browse the repository at this point in the history
q.v. udacity#69

grub-pc has a bug that's keeping noninteractive config from working.
This works around it by forcing super-extra-double noninteractive config.
  • Loading branch information
karlud committed Jun 19, 2017
1 parent aa51f7c commit b629acc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ Vagrant.configure("2") do |config|

config.vm.provision "shell", inline: <<-SHELL
apt-get -qqy update
apt-get -qqy upgrade
# Work around https://github.com/chef/bento/issues/661
# apt-get -qqy upgrade
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade
apt-get -qqy install make zip unzip postgresql
apt-get -qqy install python3 python3-pip
Expand Down

0 comments on commit b629acc

Please sign in to comment.