How do I uninstall Linux VMTools?

ZSvirt was open-sourced from the ZStack ZSphere commercial project and has since developed independently. Some code, configuration, and documentation still retain historical ZStack/ZSphere names (such as environment variables, configuration items, dependencies, paths, and commands). These names are for compatibility only and do not affect the normal use of ZSvirt.

Solution

  1. Log in to the virtual machine and run the following command to stop the service:

    [root@localhost ~]# service zwatch-vm-agent stop
  2. Run the following command to remove the file:

    [root@localhost ~]# mv /etc/systemd/system/zwatch-vm-agent.service
  3. Run the following command to remove the directory:

    [root@localhost ~]# mv /usr/local/zstack/zwatch-vm-agent

On this page