From 8f2d9e7a7c30f5e74f6aa0375b21a4522ec81756 Mon Sep 17 00:00:00 2001 From: cdoern Date: Mon, 6 Jun 2022 13:03:37 -0400 Subject: podman pod create --uts support add support for the --uts flag in pod create, allowing users to avoid issues with default values in containers.conf. uts follows the same format as other namespace flags: --uts=private (default), --uts=host, --uts=ns:PATH resolves #13714 Signed-off-by: Charlie Doern --- libpod/define/pod_inspect.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpod/define/pod_inspect.go') diff --git a/libpod/define/pod_inspect.go b/libpod/define/pod_inspect.go index 935e0f5f9..2afef48c4 100644 --- a/libpod/define/pod_inspect.go +++ b/libpod/define/pod_inspect.go @@ -122,6 +122,8 @@ type InspectPodInfraConfig struct { PidNS string `json:"pid_ns,omitempty"` // UserNS is the usernamespace that all the containers in the pod will join. UserNS string `json:"userns,omitempty"` + // UtsNS is the uts namespace that all containers in the pod will join + UtsNS string `json:"uts_ns,omitempty"` } // InspectPodContainerInfo contains information on a container in a pod. -- cgit v1.2.3-54-g00ecf