kas-container: mount KAS_REPO_REF_DIR rw
With the added auto-caching logic of the referenced repos in 1c2c859
,
kas-container has to mount this directory in read-write mode.
Otherwise, initial clones will fail.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
0e61fdddaf
commit
b8576ee99e
@ -479,7 +479,7 @@ if [ -n "${KAS_REPO_REF_DIR}" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
set -- "$@" \
|
set -- "$@" \
|
||||||
-v "$(readlink -f "${KAS_REPO_REF_DIR}")":/repo-ref:ro \
|
-v "$(readlink -f "${KAS_REPO_REF_DIR}")":/repo-ref:rw \
|
||||||
-e KAS_REPO_REF_DIR=/repo-ref
|
-e KAS_REPO_REF_DIR=/repo-ref
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user