Before you can use the downloaded bundles to upgrade your servers, you must create an empty OES2023to23.4upgrade bundle and change the name wherever it is used.
In ZENworks Control Center, click Bundles.
Click New and select Bundle.
Select Linux Bundle and click Next.
Select Empty Bundle and click Next.
Type the bundle name as OES2023to23.4upgrade and click Next.
Click Finish and complete the bundle creation process.
Click the Action tab of the bundle that you just created.
Select the Install tab and click Add.
Select Run Script.
Specify the Action Name as Upgrade and select Define Your Own Script as the Script to Run.
Click Edit against the Script content option.
In the Edit - Script Content dialog box, paste the following script and click OK:
/bin/sleep 300 /opt/novell/zenworks/bin/zypper dup --from OES23.4-Pool --from OES23.4-SLE-Module-Basesystem15-SP4-Pool --from OES23.4-SLE-Module-Basesystem15-SP4-Updates --from OES23.4-SLE-Module-Basesystem15-SP4-Updates-Patches --from OES23.4-SLE-Module-Containers15-SP4-Pool --from OES23.4-SLE-Module-Containers15-SP4-Updates --from OES23.4-SLE-Module-Containers15-SP4-Updates-Patches --from OES23.4-SLE-Module-Desktop-Applications15-SP4-Pool --from OES23.4-SLE-Module-Desktop-Applications15-SP4-Updates --from OES23.4-SLE-Module-Desktop-Applications15-SP4-Updates-Patches --from OES23.4-SLE-Module-Server-Applications15-SP4-Pool --from OES23.4-SLE-Module-Server-Applications15-SP4-Updates --from OES23.4-SLE-Module-Server-Applications15-SP4-Updates-Patches --from OES23.4-SLE-Product-SLES15-SP4-Pool --from OES23.4-SLE-Product-SLES15-SP4-Updates --from OES23.4-SLE-Product-SLES15-SP4-Updates-Patches --from OES23.4-Updates --from OES23.4-Update-Patches if [ "$?" != "0" ] ; then exit 1 fi
In the Wait before proceeding to next action section, select When Action is Complete.
Click the Advanced tab and in the Executable security level section, select Run as root and thenclick OK.
Click the Install tab, click Add, then select Reboot/Shutdown from the drop-down list.
Select Display a warning message before doing Reboot/Shutdown and click OK.
Click Apply and publish the bundle.