fetch_os_creds.sh: Fix unbound BUILD_TAG 61/44261/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 4 Oct 2017 17:43:12 +0000 (19:43 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 4 Oct 2017 17:43:12 +0000 (19:43 +0200)
commit3f27c8b519e42295bd76ace5506903f265e48560
tree1bfb43ff0479fd386b281150e783f0a5a8216bfa
parentb9a211ba6da5bb9fde2425bc2f77ca0a779ed3c7
fetch_os_creds.sh: Fix unbound BUILD_TAG

Fuel baremetal deployments provide a certificate, which should be
copied over to test containers. Virtual deployments do not, hence
the need to determine the deployment type and decide whether the
certificate should be transferred in the first place.

However, the Docker args we contruct will try to map the certificate
file no matter what, so we will instead try to transfer the cert
from Salt Master in all deployments, and just create an empty file
in case it does not exist.

Change-Id: I3d3fe6cabf552a88841c529ce38446b2e54b3053
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
utils/fetch_os_creds.sh