You need to allow the PVE origin:
Code:
Unattended-Upgrade::Origins-Pattern {
"origin=Proxmox,label=Proxmox Debian Repository";
};
If there are proposed upgrades in your
sources.list, you also need to explicitely enable them.
Unfortunately, I was neither able to find out which mode it uses in the manpage nor configure it especially. There are contradictory reports on SO and other sites, so I just tried and
unattended-upgrade will install all available updates and afterwards an
apt dist-upgrade has nothing to update after that, so I assume, this is equivalent, yet I'm not 100% sure.
In the end, I had a total package upgrade with this configuration file:
Code:
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
Unattended-Upgrade::Origins-Pattern {
"origin=Debian,label=Debian";
"origin=Proxmox,label=Proxmox Debian Repository";
};
Unattended-Upgrade::MinimalSteps "false";
Unattended-Upgrade::Automatic-Reboot "true";
Unattended-Upgrade::Automatic-Reboot-Time "07:00";
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
Unattended-Upgrade::Remove-Unused-Dependencies "truee";
Keep in mind, that unattended-upgrade will run daily, so your daily cron-entry in /etc/crontab will apply, which is per default a random minute in the 7. hour, so 06:xx. If you schedule your automatic reboot time before that, you'll have to wait a whole day for the reboot. You may need to alter the daily cron job in.
Indeed and you can find the origines by: (for my home lab

apt-cache policy | grep 'o=[^,]*.a=[^,]*'
release o=Proxmox,a=stable,n=bookworm,l=Proxmox Ceph Debian Repository,c=no-subscription,b=amd64
release o=Proxmox,a=stable,n=bookworm,l=Proxmox Debian Repository,c=pve-no-subscription,b=amd64
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=contrib,b=amd64
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=amd64
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=contrib,b=amd64
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=amd64
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=contrib,b=amd64
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=amd64