Skip to content

Instantly share code, notes, and snippets.

@monnoval
Created March 28, 2023 03:22
Show Gist options
  • Save monnoval/ddaed75bd508ec665f37b4990108de81 to your computer and use it in GitHub Desktop.
Save monnoval/ddaed75bd508ec665f37b4990108de81 to your computer and use it in GitHub Desktop.
Fix not working qemu-guest-agent in Proxmox running DietPi VM
# 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