Head over to https://github.com/waja/debian-update-cheatsheets/blob/buster2bullseye/buster2bullseye.sh
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
#!/bin/bash | |
# can be intsalled as a systemd service via | |
# sudo systemctl edit --full --force virshautomem | |
# | |
# [Unit] | |
# Description=virsh auto memory allocation for ballooning vms | |
# | |
# [Service] | |
# ExecStart=/usr/local/bin/virshautomem.sh -d |