diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-08-15 17:27:26 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-17 08:17:43 +0000 |
commit | 50afe5b031a6b63f9eca3937a2dd104bf23d4828 (patch) | |
tree | 3daaaf1fdd54ff2881d0a8b30470def954ae95db /pkg/varlinkapi/pods.go | |
parent | bf741b3ea30f9431775f03cca081758efcb780b1 (diff) | |
download | podman-50afe5b031a6b63f9eca3937a2dd104bf23d4828.tar.gz podman-50afe5b031a6b63f9eca3937a2dd104bf23d4828.tar.bz2 podman-50afe5b031a6b63f9eca3937a2dd104bf23d4828.zip |
podman: fix --uts=host
Do not set any hostname value in the OCI configuration when --uts=host
is used and the user didn't specify any value. This prevents an error
from the OCI runtime as it cannot set the hostname without a new UTS
namespace.
Differently, the HOSTNAME environment variable is always set. When
--uts=host is used, HOSTNAME gets the value from the host.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #1280
Approved by: baude
Diffstat (limited to 'pkg/varlinkapi/pods.go')
0 files changed, 0 insertions, 0 deletions