Question

Automate an Ubuntu upgrade from 18.04 to 20.04 LTS

  • 14 February 2023
  • 1 reply
  • 104 views

Badge

Is there a way to automate or script the upgrade of Ubuntu LTS v18.04 to v20.04 


1 reply

Userlevel 2

Hello,

You can accomplish this with a Worklet.

 

DEVICE TARGETING

Attribute: ‘OS Version’ ‘IS’ ‘Linux Ubuntu 18.04’

 

EVALUATION CODE

#!/bin/bash

exit 1

 

REMEDIATION CODE

#!/bin/bash

sudo do-release-upgrade -f DistUpgradeViewNonInteractive

Reply