Files
podman/libpod
Matthew Heon 644a7b78ff Ensure that containers in pods properly set hostname
When we moved to the new Namespace types in Specgen, we made a
distinction between taking a namespace from a pod, and taking it
from another container. Due to this new distinction, some code
that previously worked for both `--pod=$ID` and
`--uts=container:$ID` has accidentally become conditional on only
the latter case. This happened for Hostname - we weren't properly
setting it in cases where the container joined a pod.
Fortunately, this is an easy fix once we know to check the
condition.

Also, ensure that `podman pod inspect` actually prints hostname.

Fixes #6494

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-06-04 16:32:10 -04:00
..
2020-03-17 17:18:56 +01:00
2020-04-06 12:12:59 -05:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2020-05-11 13:20:32 +02:00
2020-03-12 10:06:51 +05:30
2020-03-27 14:36:03 -04:00
2020-01-13 14:27:02 +01:00
2020-04-16 12:04:46 -05:00
2020-05-06 17:08:22 +02:00
2020-03-27 14:36:03 -04:00
2020-05-11 13:11:07 +02:00
2020-05-06 17:08:22 +02:00
2019-07-22 15:57:23 -04:00
2020-04-05 15:54:51 -05:00
2020-06-02 15:30:42 -04:00
2020-01-25 15:09:09 -06:00
2020-03-28 17:32:22 +01:00
2019-06-25 13:51:24 -05:00
2020-03-27 14:36:03 -04:00
2020-01-13 14:27:02 +01:00
2020-05-04 16:01:45 +02:00
2020-04-17 17:30:58 -04:00
2019-08-28 11:35:00 -04:00
2020-03-27 14:36:03 -04:00
2020-03-27 14:36:03 -04:00
2020-05-05 08:46:51 -05:00
2020-05-05 08:46:51 -05:00
2020-04-06 16:32:36 +02:00
2020-02-13 21:42:57 -05:00
2020-05-05 08:46:51 -05:00
2020-05-13 11:49:17 -07:00
2020-05-05 12:24:33 -05:00