disable unattended upgrades

This commit is contained in:
Robin Appelman 2025-08-06 21:01:14 +02:00
commit 6020b05e5c

View file

@ -141,6 +141,10 @@ async fn setup(
ssh.exec("chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile") ssh.exec("chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile")
.await?; .await?;
info!("disabling unattended upgrades");
ssh.exec("systemctl disable --now unattended-upgrades")
.await?;
info!("setting up prometheus"); info!("setting up prometheus");
ssh.exec("wget https://github.com/icewind1991/palantir/raw/main/palantir.service -O /etc/systemd/system/palantir.service").await?; ssh.exec("wget https://github.com/icewind1991/palantir/raw/main/palantir.service -O /etc/systemd/system/palantir.service").await?;
ssh.exec("wget https://github.com/icewind1991/palantir/releases/download/v1.1.0/palantir-x86_64-unknown-linux-musl -O /usr/local/bin/palantir").await?; ssh.exec("wget https://github.com/icewind1991/palantir/releases/download/v1.1.0/palantir-x86_64-unknown-linux-musl -O /usr/local/bin/palantir").await?;