Install virtio Guest Agent on Ubuntu Proxmox VM
One Liner to update apt cache, install agent, enable and start service:
sudo apt update && sudo apt install -y qemu-guest-agent && sudo systemctl enable qemu-guest-agent && sudo systemctl start qemu-guest-agent
Step by Step Directions
Open a terminal on your Ubuntu system.
Update the package list by running the following command:
sudo apt update
Install the virtio Guest agent package by running the following command:
sudo apt install qemu-guest-agent
During the installation, you may be prompted to configure some settings. You can choose the default options by pressing Enter or select any specific settings based on your requirements.
Once the installation is complete, start the virtio Guest agent service by running the following command:
sudo systemctl start qemu-guest-agent
Enable the virtio Guest agent service to start automatically on system boot by running the following command:
sudo systemctl enable qemu-guest-agent
Verify that the virtio Guest agent is running by checking the service status using the following command:
sudo systemctl status qemu-guest-agent
If the service is running, you should see a “active (running)” message. That’s it! The virtio Guest agent is now installed and running on your Ubuntu system.
Last updated on November 21, 2024. For any questions/feedback, email me at blog@zinchuk.xyz.