spiegel_podman/pkg/spec
Giuseppe Scrivano 50afe5b031 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
2018-08-17 08:17:43 +00:00
..
config_linux.go spec: Make addPrivilegedDevices and createBlockIO per-platform 2018-07-06 00:48:40 +00:00
config_unsupported.go spec: Make addPrivilegedDevices and createBlockIO per-platform 2018-07-06 00:48:40 +00:00
createconfig.go switch projectatomic to containers 2018-08-16 17:12:36 +00:00
parse.go network: support ns: prefix to join existing namespace 2018-07-24 21:50:49 +00:00
ports.go Spell check strings and comments 2018-05-25 08:45:15 +00:00
spec.go podman: fix --uts=host 2018-08-17 08:17:43 +00:00
spec_test.go Add flag to add annotations to a container 2018-06-04 17:52:28 +00:00