And for those that want a clean shutdown when you request a shutdown from the virtual host, in your DietPi install
apt -y install acpid
echo "event=button/power PBTN 00000080 00000000" > /etc/acpi/events/power_button
echo "action=/sbin/poweroff" >> /etc/acpi/events/power_button
Credits to the original poster here :
https://dietpi.com/forum/t/acpi-shutdown-does-nothing/3340/1