Uninstalling guest tools from Linux virtual machines
To uninstall the guest tools from a Linux guest, log in to the virtual machine, and then do the following:
-
Remove the packages:
-
On RPM-based systems (CentOS and other):
# yum remove dkms-vzvirtio_balloon prl_nettool qemu-guest-agent-vz \
vz-guest-udev -
On DEB-based systems (Debian and Ubuntu):
# apt-get remove vzvirtio-balloon-dkms prl-nettool qemu-guest-agent-vz \
vz-guest-udevIf any of the packages listed above are not installed on your system, the command will fail. In this case, exclude these packages from the command and run it again.
-
-
Remove the files:
# rm -f /usr/bin/prl_backup /usr/share/qemu-ga/VERSION \
/usr/bin/install-tools \
/etc/udev/rules.d/90-guest_iso.rules /usr/local/bin/fstrim-static \
/etc/cron.weekly/fstrim -
Reload the
udev
rules:# udevadm control --reload
After removing guest tools, restart the virtual machine.