From 57c7422d6e739cd7e927a7493e2c4f8f8e58232d Mon Sep 17 00:00:00 2001 From: Krish Jain Date: Mon, 17 Jul 2023 18:30:55 +0530 Subject: [PATCH] Add mangle script for containerd --- manglefs_containerd | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 manglefs_containerd diff --git a/manglefs_containerd b/manglefs_containerd new file mode 100755 index 00000000000..ff5c5d36952 --- /dev/null +++ b/manglefs_containerd @@ -0,0 +1,7 @@ +#!/bin/bash + +set -euo pipefail +rootfs="${1}" + +mkdir -p "${rootfs}/usr/lib/systemd/system/multi-user.target.d" +{ echo "[Unit]"; echo "Upholds=containerd.service"; } > "${rootfs}/usr/lib/systemd/system/multi-user.target.d/10-containerd-service.conf"