Answer the question
In order to leave comments, you need to log in
How to install grub via apt-get upgrade in the background?
Actually what is the point ..
There is an automated deployment of virtual machines through DSC. For virtual machines with Ubuntu and Debian, after deployment, the command "apt-get --force-yes update && apt-get --force-yes dist-upgrade" should be executed.
Actually, everything hangs on the execution of dist-upgrade.
We climb on the virtual machine and find out that everything breaks when trying to install a new version of grub. When installing manually, the system asks which section to install. By choosing a section, we get the completed task.
Question: what is needed so that when apt-get --force-yes dist-upgrade is executed, a place for grub is selected in the background.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question