mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
Add mangle script for containerd
This commit is contained in:
parent
e5f1ecbae3
commit
e6bb5470c4
7
manglefs_containerd
Executable file
7
manglefs_containerd
Executable file
@ -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"
|
Loading…
x
Reference in New Issue
Block a user