File tree Expand file tree Collapse file tree 3 files changed +282
-199
lines changed Expand file tree Collapse file tree 3 files changed +282
-199
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ function _run_swagger() {
173
173
trap " rm -f $envvarsfile " EXIT # contains secrets
174
174
# Warning: These values must _not_ be quoted, podman will not remove them.
175
175
# shellcheck disable=SC2154
176
- cat << eof>>$envvarsfile
176
+ cat << eof >>$envvarsfile
177
177
GCPJSON=$GCPJSON
178
178
GCPNAME=$GCPNAME
179
179
GCPPROJECT=$GCPPROJECT
@@ -334,6 +334,11 @@ msg "************************************************************"
334
334
335
335
# shellcheck disable=SC2154
336
336
if [[ " $PRIV_NAME " == " rootless" ]] && [[ " $UID " -eq 0 ]]; then
337
+ # Remove /var/lib/cni, it is not required for rootless cni.
338
+ # We have to test that it works without this directory.
339
+ # https://github.com/containers/podman/issues/10857
340
+ rm -rf /var/lib/cni
341
+
337
342
req_env_vars ROOTLESS_USER
338
343
msg " Re-executing runner through ssh as user '$ROOTLESS_USER '"
339
344
msg " ************************************************************"
You can’t perform that action at this time.
0 commit comments