From 092329a76b41b5581152404d8a4d90edc73c6265 Mon Sep 17 00:00:00 2001 From: John D Date: Tue, 25 May 2021 05:40:13 -0700 Subject: [PATCH] Add podman update --- podman-update/00-podman-update.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/podman-update/00-podman-update.sh b/podman-update/00-podman-update.sh index 7a30859..158f720 100644 --- a/podman-update/00-podman-update.sh +++ b/podman-update/00-podman-update.sh @@ -1,6 +1,6 @@ #!/bin/sh -mkdir -p /mnt/data/podman-update +mkdir -p /mnt/data/.cache PODMAN_DL=/mnt/data/.cache/podman CONMON_DL=/mnt/data/.cache/conmon @@ -11,19 +11,19 @@ if [ ! -f CONMON_DL ]; then fi chmod +x $CONMON_DL mv /usr/libexec/podman/conmon /usr/libexec/podman/conmon.old - ln -s $CONMON_DL /usr/libexec/podman/conmon if [ ! -f $PODMAN_DL ]; then curl -fsSLo $PODMAN_DL https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/podman fi chmod +x $PODMAN_DL -# mv /usr/bin/podman /usr/bin/podman.old -#ln -s $PODMAN_DL /usr/bin/podman +mv /usr/bin/podman /usr/bin/podman.old +ln -s $PODMAN_DL /usr/bin/podman if [ ! -f $SECCOMP ]; then mkdir -p /usr/share/container/ curl -fsSLo /usr/share/container/seccomp.json https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/seccomp.json fi - +sed -i 's/driver = ""/driver = "overlay"/' /etc/containers/storage.conf +# Comment out if you don't want to enable docker-compose or remote docker admin /usr/bin/podman system service --time=0 tcp:0.0.0.0:2375 & \ No newline at end of file