Here in our office we have 200+ servers which are located in different weird locations like deserts, mountains, cities which are serving as receivers for our data. Our server are bit old which are running 10.04 Ubuntu(Lucid Lynx). As this version of OS is no more supported by Ubuntu we want to move from this version in two steps. First step is to upgrade from 10.04 to 12.04 and second step is to upgrade 12.04 to 14.04.
Normally when we try to upgrade Ubuntu using 'do-release-upgrade command' it will ask hell a lot of questions when restarting service, updating config files. If we are installing on a single machine that is fine, if we try to upgrade two machines it is also fine. But if you want to upgrade OS on 100's of headless remote machines it is a tedious job.
The solution for this issue is choose a different "front end" which is having ability to provide default answers on it’s own for the questions arises at the time of upgrade. The front end which will not ask any question and do a silent upgrade is "DistUpgradeViewNonInteractive". Issue below command for complete unattended installation.
do-release-upgrade -f DistUpgradeViewNonInteractive
We have other front end options as well and they are self explanatory and full list of front ends are given below. DistUpgradeViewGtk3 DistUpgradeViewGtk DistUpgradeViewKDE
The below two work on SSH connection: DistUpgradeViewText DistUpgradeViewNonInteractive
Latest posts by Surendra Anne (see all)
- FREE: JOIN OUR DEVOPS TELEGRAM GROUPS - August 2, 2019
- Review: Whizlabs Practice Tests for AWS Certified Solutions Architect Professional (CSAP) - August 27, 2018
- How to use ohai/chef-shell to get node attributes - July 19, 2018
- wget download a file to a directory in Linux/Unix - June 4, 2018
- GIT: How to compare two GIT branches? - June 3, 2018