mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 18:00:18 +01:00
contrib: don't use :Z for bind mounts in "nm-in-container.sh"
I am not sure why I added this. I think it's not necessary or useful. Drop it.
This commit is contained in:
parent
daecc226ee
commit
12ea3bb425
1 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ bind_files() {
|
|||
[[ "$f2" = *.tmp ]] && continue
|
||||
[[ "$f2" = *~ ]] && continue
|
||||
f2="/root/$f2"
|
||||
ARR+=( -v "$f:$f2:Z" )
|
||||
ARR+=( -v "$f:$f2" )
|
||||
done
|
||||
|
||||
eval "$VARIABLE_NAME=( \"\${ARR[@]}\" )"
|
||||
|
|
@ -419,7 +419,7 @@ do_run() {
|
|||
BIND_NM_CI=()
|
||||
if [ -d "$BASEDIR_NM/.git/NetworkManager-ci" ] ; then
|
||||
DIR="$(readlink -f "$BASEDIR_NM/.git/NetworkManager-ci")"
|
||||
BIND_NM_CI=(-v "$DIR:$DIR:Z")
|
||||
BIND_NM_CI=(-v "$DIR:$DIR")
|
||||
fi
|
||||
|
||||
podman run --privileged \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue