

You will see that the Azure Linux Agent version has been updated to the new version.įor more information regarding the Azure Linux Agent, see Azure Linux Agent README.1- But "wget" will download a file. Confirm the Azure Linux Agent version waagent -versionįor CoreOS, the above command may not work. Then run: sudo python setup.py installįor most of Linux distros: sudo service waagent restartįor Ubuntu, use: sudo service walinuxagent restartįor CoreOS, use: sudo systemctl restart waagentĤ. You may need to install the package setuptools first-see setuptools. The following line uses version 2.2.14 as an example: wget (You can locate your current version by typing waagent -version.) Open the release of Azure Linux Agent in GitHub in a web page, and find out the latest version number. Install wget (there are some distros that don't install it by default, such as Red Hat, CentOS, and Oracle Linux versions 6.4 and 6.5) by typing sudo yum install wget on the command line.
Yum install wget update#
Update the Linux Agent when no agent package exists for distribution Typically this is all you need, but if for some reason you need to install it from directly, use the following steps. Gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle Name=Oracle Linux $releasever Add ons ($basearch) Name=Add-Ons for Oracle Linux $releasever ($basearch)įor Oracle Linux 7 virtual machines: repo file according to your Oracle Linux release:įor Oracle Linux 6 virtual machines: If you don't find the add-on repository you can simply add these lines at the end of your. Then, to install the latest version of the Azure Linux Agent, type: sudo yum install WALinuxAgent Choose to edit the file /etc//public-yum-ol6.repo(Oracle Linux 6) or /etc//oracle-linux-o17.repo(Oracle Linux), and change the line enabled=0 to enabled=1 under or in this file. Sudo systemctl restart rviceįor Oracle Linux, make sure that the Addons repository is enabled. If you see this output, it is enabled: AutoUpdate.Enabled=y Debian 8 “Jessie” / Debian 9 “Stretch”Ĭheck your current package version apt list -installed | grep waagentįind 'AutoUpdate.Enabled'. The output from the above command will show you if the package is up-to-date. This version of Debian does not have a version >= 2.0.16, therefore AutoUpdate is not available for it. Install the latest package version sudo apt-get install waagent To enable run: sudo sed -i 's/AutoUpdate.Enabled=n.*/AutoUpdate.Enabled=y/g' /etc/nfĭebian Debian 7 “Jesse”/ Debian 7 "Stretch"Ĭheck your current package version dpkg -l | grep waagent In the output from the above, this will show you if the package is up-to-date. Restart the waagent service sudo /etc/init.d/waagent restart Install the latest package version sudo zypper install python-azure-agent The above output will show you if the package is up to date.

Restart the waagent service sudo systemctl restart rviceĬheck your current package version zypper info python-azure-agentĬheck available updates. Restart the waagent service sudo service waagent restart To enable run: sudo sed -i 's/\# AutoUpdate.Enabled=y/AutoUpdate.Enabled=y/g' /etc/nf Install the latest package version sudo yum install WALinuxAgentįirst, check to see if it is enabled: cat /etc/nf

Restart waagent service for 16.04 / 17.04 systemctl restart rviceĬheck your current package version sudo yum list WALinuxAgentĬheck available updates sudo yum check-update WALinuxAgent Restart waagengt service for 14.04 initctl restart walinuxagent To enable run: sudo sed -i 's/# AutoUpdate.Enabled=n/AutoUpdate.Enabled=y/g' /etc/nf If you see this output, it is enabled: # AutoUpdate.Enabled=y First, check to see if it is enabled: cat /etc/nfįind 'AutoUpdate.Enabled'. Install the latest package version sudo apt-get install walinuxagentĮnsure auto update is enabled. Update package cache sudo apt-get -qq update UbuntuĬheck your current package version apt list -installed | grep walinuxagent Verify the Minimum version support for virtual machine agents in Azure before proceeding. For more information see Endorsed Linux distributions on Azure
