installer: better log messages

This commit is contained in:
Girish Ramakrishnan
2026-01-30 09:54:33 +01:00
parent 1594d190eb
commit 16a8caa8db
+2 -2
View File
@@ -113,7 +113,7 @@ readonly docker_deb_version="5:${docker_version}-1~${distro_suffix}"
readonly containerd_version="2.2.1"
if ! dpkg -s docker-ce >/dev/null 2>&1 || \
[[ "$(dpkg-query --show --showformat='${Version}' docker-ce 2>/dev/null)" != "${docker_deb_version}" ]]; then
log "installing/updating docker"
log "downloading docker ${docker_version}"
# create systemd drop-in file already to make sure images are with correct driver
mkdir -p /etc/systemd/system/docker.service.d
@@ -124,7 +124,7 @@ if ! dpkg -s docker-ce >/dev/null 2>&1 || \
$curl -sL "https://download.docker.com/linux/ubuntu/dists/${ubuntu_codename}/pool/stable/amd64/docker-ce-cli_${docker_version}-1~${distro_suffix}_amd64.deb" -o /tmp/docker-ce-cli.deb
$curl -sL "https://download.docker.com/linux/ubuntu/dists/${ubuntu_codename}/pool/stable/amd64/docker-ce_${docker_version}-1~${distro_suffix}_amd64.deb" -o /tmp/docker.deb
log "installing docker"
log "installing docker ${docker_version}"
prepare_apt_once
apt install -y /tmp/containerd.deb /tmp/docker-ce-cli.deb /tmp/docker.deb
rm /tmp/containerd.deb /tmp/docker-ce-cli.deb /tmp/docker.deb