Hi all,
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.
Best, Amit.
From: "Amit Saha" asaha@redhat.com To: "Beaker development" beaker-devel@lists.fedorahosted.org Sent: Thursday, 11 December, 2014 6:03:03 PM Subject: [Beaker-devel] Hostname for the docker container
Hi all,
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).
Cheers, Nick.
beaker-devel@lists.fedorahosted.org