Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

marinnedea/walaupdate

Repository files navigation

DESCRIPTION

This script will compare running WaLinuxAgent version to the latest available in and if needed, will attempt updating it on the VM.

Tested successfully on:

  • RHEL 7.4/7.5/7.6/7.7/7.8/8.1/8.2
  • CentOS 7.4/7.5/7.6/7.7
  • Oracle 7.4/7.5/7.6/7.7/7.8/8.1
  • SLES12 SP4
  • SLES15 SP1
  • Ubuntu 16.04/18.04
  • Debian 10

REQUIREMENT

IMPORTANT

Please note the following software, if missing, will be installed on your VMs:

  • wget
  • curl
  • unzip
  • python-setuptools
  • temporarily, on CentOS and RedHat machines, the epel repository will be enabled

VERY IMPORTANT

  • Some VMs required a full reboot to update the status in Azure Portal. I didn't directly implemented this into the script, as such action may impact production and needs planning.

USAGE

  • download walaupdatelinux.sh on a machine where AzCLI is running and up-to-date:

    wget https://raw.githubusercontent.com/marinnedea/walaupdate/master/walaupdatelinux.sh
    
  • make the script executable:

    chmod +x walaupdatelinux.sh
    
  • execute the script:

    ./walaupdatelinux.sh
    

DISCLAIMER:

This script is provided as it is and without any warranty. Neither the authot or the company the author of this script works for at this moment, or will work in the future, can be held responsible for any harm this script may cause. USE IT AT YOUR OWN RISK!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published