diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-19 13:33:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-19 13:33:15 +0200 |
commit | 98dee275d04dafa087db12bc3f0593a078039cfb (patch) | |
tree | 51a0fbeae3dd23c6c29c4b74e6a6503557e74a39 /libpod/pod.go | |
parent | 438cbf4c8960db0b59a25a3fb38a778e24a69a40 (diff) | |
parent | 7aefc1ac33ba153f6177e9fe3c4da886de49a9e2 (diff) | |
download | podman-98dee275d04dafa087db12bc3f0593a078039cfb.tar.gz podman-98dee275d04dafa087db12bc3f0593a078039cfb.tar.bz2 podman-98dee275d04dafa087db12bc3f0593a078039cfb.zip |
Merge pull request #3836 from chenzhiwei/hostname
Allow customizing pod hostname
Diffstat (limited to 'libpod/pod.go')
-rw-r--r-- | libpod/pod.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/pod.go b/libpod/pod.go index 60626bfd7..3b9bb9c60 100644 --- a/libpod/pod.go +++ b/libpod/pod.go @@ -36,6 +36,8 @@ type PodConfig struct { // Namespace the pod is in Namespace string `json:"namespace,omitempty"` + Hostname string `json:"hostname,omitempty"` + // Labels contains labels applied to the pod Labels map[string]string `json:"labels"` // CgroupParent contains the pod's CGroup parent |