Created
March 28, 2023 03:22
-
-
Save monnoval/ddaed75bd508ec665f37b4990108de81 to your computer and use it in GitHub Desktop.
Fix not working qemu-guest-agent in Proxmox running DietPi VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# References | |
# - https://dietpi.com/forum/t/qemu-guest-agent-shutdown/5898/7 | |
# - https://pve.proxmox.com/wiki/Qemu-guest-agent | |
# 1. Here are the commands to run | |
apt install qemu-guest-agent \ # install guest agent | |
&& systemctl unmask systemd-logind \ | |
&& apt install dbus \ | |
&& systemctl start systemd-logind \ | |
&& systemctl status systemd-logind # check status to verify | |
# 2. Poweroff the VM and g | |
# 3. Go to Options > QEMU Guest Agent > Enabled | |
# 4. Start VM and test Shutdown from Proxmox Webui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment