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)
- Docker: How to copy files to/from docker container - June 30, 2020
Anisble: ERROR! unexpected parameter type in action:
Fix- June 29, 2020
- 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