os:proxmox_ve:guest_agent
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
os:proxmox_ve:guest_agent [2020-04-10 22:16] – created Manuel Frei | os:proxmox_ve:guest_agent [2020-05-19 20:05] (current) – Manuel Frei | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== Guest Agent ====== |
Proxmox vm's use the QEMU guest agent. The official documentation from Proxmox can be found here: [[https:// | Proxmox vm's use the QEMU guest agent. The official documentation from Proxmox can be found here: [[https:// | ||
Line 19: | Line 19: | ||
</ | </ | ||
- | ===== Windows ===== | + | |
+ | ===== Execute Command ===== | ||
+ | |||
+ | ==== Enable ==== | ||
+ | |||
+ | Per default the qemu-guest-agent doesn' | ||
+ | |||
+ | < | ||
+ | root@mypve: | ||
+ | Agent error: The command guest-exec has been disabled for this instance | ||
+ | </ | ||
+ | |||
+ | === CentOS / RHEL === | ||
+ | |||
+ | Open the config file. | ||
+ | < | ||
+ | vi / | ||
+ | </ | ||
+ | |||
+ | Search for the blacklist line. | ||
+ | < | ||
+ | BLACKLIST_RPC=guest-file-open, | ||
+ | </ | ||
+ | |||
+ | Remove guest-exec (and guest-exec-status for async exec calls). | ||
+ | < | ||
+ | BLACKLIST_RPC=guest-file-open, | ||
+ | </ | ||
+ | |||
+ | Restart the agent. | ||
+ | < | ||
+ | systemctl restart qemu-guest-agent | ||
+ | </ | ||
+ | |||
+ | ==== Use ==== | ||
+ | |||
+ | < | ||
+ | qm guest exec < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | root@mypve: | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ===== Installation on Windows ===== | ||
* Download the latest VirtIO ISO ([[https:// | * Download the latest VirtIO ISO ([[https:// | ||
- | * | + | * Mount the ISO to the vm |
+ | * Open the device manager | ||
+ | * Search the device "PCI Simple Communications Controller" | ||
+ | * Install the driver for this device from the mounted ISO | ||
+ | * Start the Guest Agent installer from the mounted ISO (" | ||
+ | * Reboot the vm | ||
- | ===== Linux ===== | + | ===== Installation on Linux ===== |
For Debian/ | For Debian/ |
os/proxmox_ve/guest_agent.1586549812.txt.gz · Last modified: 2020-04-10 22:16 by Manuel Frei