From 654eb566296d627c5d32b7df01310596d019e9ae Mon Sep 17 00:00:00 2001 From: bra-fsn Date: Fri, 15 Nov 2024 23:55:17 +0100 Subject: [PATCH] stop google services --- inspector/lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inspector/lib.py b/inspector/lib.py index 385b6db..c88e108 100644 --- a/inspector/lib.py +++ b/inspector/lib.py @@ -84,9 +84,9 @@ systemctl restart docker # stop some services to preserve memory snap stop amazon-ssm-agent >> /tmp/output 2>&1 -systemctl stop chrony acpid fwupd cron multipathd snapd systemd-timedated unattended-upgrades polkit packagekit systemd-udevd hv-kvp-daemon.service >> /tmp/output 2>&1 +systemctl stop chrony acpid fwupd cron multipathd snapd systemd-timedated google-osconfig-agent google-guest-agent networkd-dispatcher unattended-upgrades polkit packagekit systemd-udevd hv-kvp-daemon.service >> /tmp/output 2>&1 # remove unwanted packages -apt-get autoremove -y apport fwupd unattended-upgrades snapd packagekit walinuxagent >> /tmp/output 2>&1 +apt-get autoremove -y apport fwupd unattended-upgrades snapd packagekit walinuxagent google-osconfig-agent >> /tmp/output 2>&1 # https://github.com/NVIDIA/nvidia-container-toolkit/issues/202 # on some machines docker initialization times out with a lot of GPUs. Enable persistence mode to overcome that. nvidia-smi -pm 1