more unattended work

This commit is contained in:
Robin Appelman 2025-09-05 22:24:58 +02:00
commit b1ba701f7d

View file

@ -143,9 +143,7 @@ async fn setup(
info!("disabling unattended upgrades");
if timeout(Duration::from_secs(5), async {
let _ = ssh
.exec("systemctl disable --now unattended-upgrades")
.await;
let _ = ssh.exec("systemctl stop unattended-upgrades").await;
let _ = ssh.exec("apt-get purge unattended-upgrades").await;
})
.await