Skip to content

Commit

Permalink
output
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-fsn committed May 31, 2024
1 parent 8d20b51 commit c9202a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions inspector/inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update -y
apt-get update -y >> /tmp/output 2>&1
# https://ubuntu.com/server/docs/nvidia-drivers-installation
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin ubuntu-drivers-common
ubuntu-drivers install
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin ubuntu-drivers-common >> /tmp/output 2>&1
ubuntu-drivers install >> /tmp/output 2>&1
# stop some services to preserve memory
snap stop amazon-ssm-agent
systemctl stop chrony acpid cron multipathd snapd systemd-timedated
snap stop amazon-ssm-agent >> /tmp/output 2>&1
systemctl stop chrony acpid cron multipathd snapd systemd-timedated >> /tmp/output 2>&1
# we don't want to submit crash dumps anywhere
apt-get autoremove -y apport >> /tmp/output 2>&1
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \
Expand Down

0 comments on commit c9202a4

Please sign in to comment.