Created
March 28, 2014 09:43
-
-
Save sawanoboly/9829017 to your computer and use it in GitHub Desktop.
apt-get -y upgrade without a grub-pc config prompt.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get -y update | |
apt-get -y install debconf-utils | |
cat <<EOL | debconf-set-selections | |
grub-pc grub-pc/install_devices multiselect /dev/vda | |
grub-pc grub-pc/install_devices_empty boolean false | |
EOL | |
apt-get -y upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment