From: "Amit Saha" <asaha(a)redhat.com>
To: "Beaker development" <beaker-devel(a)lists.fedorahosted.org>
Sent: Thursday, 11 December, 2014 6:03:03 PM
Subject: [Beaker-devel] Hostname for the docker container
While investigating an issue with running the test harness in a container, I
realized the if
hostname is used anywhere in the harness, it really will be the container's
hostname (container ID)
and not the test system's.
Should we stick to that? Or should we set it to the host's $HOSTNAME?
Perhaps, we should keep it as it is, since we may move to multi-container
testing, etc where
container ID would be how we address another container.
I think leaving it as is is a better option. However, we may want to add another variable
with the host's hostname (similar to the way guest recipes can see the host's
hostname these days).
Red Hat Hosted & Shared Services
Software Engineering & Development, Brisbane
HSS Provisioning Architect