Skip to content

Commit

Permalink
Add mangle script for containerd
Browse files Browse the repository at this point in the history
  • Loading branch information
krishjainx committed Jul 17, 2023
1 parent e2df476 commit 57c7422
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manglefs_containerd
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 57c7422

Please sign in to comment.