From 8f18cef62ac4bb07fad6d76bb8f6d77f12bf92c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Wed, 8 Jan 2020 14:23:41 +0100 Subject: [PATCH] Align pods create command with the libpod interface in 1.6.0+ Related to https://github.com/containers/python-podman/issues/64 --- podman/libs/pods.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/podman/libs/pods.py b/podman/libs/pods.py index 5fd6e5e..9f33e29 100644 --- a/podman/libs/pods.py +++ b/podman/libs/pods.py @@ -128,7 +128,10 @@ def create(self, cgroupparent=None, labels=None, share=None, - infra=False): + infra=False, + infraCommand=None, + infraImage=None, + publish=None): """Create a new empty pod.""" config = ConfigDict( name=ident, @@ -136,6 +139,9 @@ def create(self, labels=labels, share=share, infra=infra, + infraCommand=infraCommand, + infraImage=infraImage, + publish=publish ) with self._client() as podman: