From 00c8f8874d5d92fb0d0072930ceed11320559ae2 Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Mon, 9 Oct 2023 16:25:17 +0200 Subject: [PATCH] add default yes --- src/scripts/docker_migration_apt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/docker_migration_apt.sh b/src/scripts/docker_migration_apt.sh index 763258b..bbb7f1b 100644 --- a/src/scripts/docker_migration_apt.sh +++ b/src/scripts/docker_migration_apt.sh @@ -81,7 +81,7 @@ log "OS: $OS ; Version: $VERSION ; Docker version: $DOCKER_VERSION" # Remove legacy docker packages for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do log "Removing $pkg" - apt-get remove $pkg 2>&1 | tee -a ${LOG_FILE} + apt-get remove -y $pkg 2>&1 | tee -a ${LOG_FILE} done # Set up the repository