mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit dd408ba431d4acb17ce2fc50c51e1879700f9cbe
parent 24af0f0cd36a457b26dd218218ddcff862de4ec4
Author: ccx <ccx@te2000.cz>
Date:   Wed, 18 Sep 2024 23:56:28 +0000

Add "slave" option for container bind-mounts so they can be updated from host

Diffstat:
Mzsh-functions/confz_containers_init | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zsh-functions/confz_containers_init b/zsh-functions/confz_containers_init @@ -413,7 +413,7 @@ confz_container_service_ephemeral_check() { src_el=\"${${src//\\/\\\\}//\"/\\\"}\" dst_el=\"${${dst//\\/\\\\}//\"/\\\"}\" pid1_el_lines+=( - "if { s6-mount -o bind,$rw,nodev,nosuid $src_el $dst_el }" + "if { s6-mount -o bind,$rw,nodev,nosuid,slave $src_el $dst_el }" "if { s6-mount -o remount,bind,$rw,nodev,nosuid . $dst_el }" ) done