mirror of
https://github.com/containers/podman.git
synced 2025-06-20 09:03:43 +08:00
rename --cni-config-dir to --network-config-dir
Since this option will also be used for netavark we should rename it to something more generic. It is important that --cni-config-dir still works otherwise we could break existing container cleanup commands. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -220,7 +220,7 @@ function start_service() {
|
||||
--root $WORKDIR/root \
|
||||
--runroot $WORKDIR/runroot \
|
||||
--cgroup-manager=systemd \
|
||||
--cni-config-dir $WORKDIR/cni \
|
||||
--network-config-dir $WORKDIR/cni \
|
||||
system service \
|
||||
--time 0 unix://$DOCKER_SOCK \
|
||||
&> $WORKDIR/server.log &
|
||||
@ -247,7 +247,7 @@ function podman() {
|
||||
--storage-driver=vfs \
|
||||
--root $WORKDIR/root \
|
||||
--runroot $WORKDIR/runroot \
|
||||
--cni-config-dir $WORKDIR/cni \
|
||||
--network-config-dir $WORKDIR/cni \
|
||||
"$@")
|
||||
echo -n "$output" >>$WORKDIR/output.log
|
||||
}
|
||||
|
Reference in New Issue
Block a user