mirror of
https://github.com/containers/podman.git
synced 2025-10-13 17:26:13 +08:00
Fix up handling of environment variables
The way docker works is if a user specifies a non `-e Name=Value`, IE just a `-e Name`, then the environment variable Name from the clients OS.ENV is used. Also by default Docker containers run with the HOSTNAME environment set to the HOSTNAME specified for the container. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #21 Approved by: baude
This commit is contained in:

committed by
Atomic Bot

parent
3b72af6147
commit
57599f0075
@ -14,7 +14,7 @@ elif [[ ! -z "$TRAVIS" ]]; then
|
||||
elif [[ ! -z "$PAPR" ]]; then
|
||||
CRIO_ROOT="/var/tmp/checkout"
|
||||
else
|
||||
CRIO_ROOT=$(cd "$INTEGRATION_ROOT/../.."; pwd -P)}
|
||||
CRIO_ROOT=$(cd "$INTEGRATION_ROOT/.."; pwd -P)
|
||||
fi
|
||||
|
||||
KPOD_BINARY=${KPOD_BINARY:-${CRIO_ROOT}/bin/kpod}
|
||||
|
Reference in New Issue
Block a user