mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-28 19:27:58 +00:00
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 |
||
|---|---|---|
| .. | ||
| config_linux.go | ||
| config_unsupported.go | ||
| createconfig.go | ||
| parse.go | ||
| ports.go | ||
| spec.go | ||
| spec_test.go | ||