Skip to main content
Question

Automate an Ubuntu upgrade from 18.04 to 20.04 LTS

  • February 14, 2023
  • 1 reply
  • 166 views

Forum|alt.badge.img

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

1 reply

  • Automox Employee
  • 19 replies
  • February 15, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings