Closed chendelin1982 closed 3 years ago
Solution
# redhat family
yum -y remove WALinuxAgent
rm -f /etc/waagent.conf.rpmsave
rm -rf /var/lib/waagent
rm -f /var/log/waagent.log
# debian family
apt -y purge walinuxagent
rm -rf /var/lib/waagent
rm -f /var/log/waagent.log
``
close
The current solution can't disable waagent, refer to official docs Disable or remove the Linux Agent from VMs and images