Commit 56d96045 authored by Michael Davis's avatar Michael Davis
Browse files

[kill-bash] Reinstates cta-cli.conf to client pod as well as cli pod

parent e2319478
......@@ -10,5 +10,11 @@ if [ ! -e /etc/buildtreeRunner ]; then
yum -y install cta-cli cta-debuginfo xrootd-client eos-client
fi
cat <<EOF > /etc/cta/cta-cli.conf
# The CTA frontend address in the form <FQDN>:<TCPPort>
# solved by kubernetes DNS server so KIS...
ctafrontend:10955
EOF
# sleep forever but exit immediately when pod is deleted
exec /bin/bash -c "trap : TERM INT; sleep infinity & wait"
......@@ -201,7 +201,6 @@ if [[ $REMOVE == 1 ]]; then
echo "Got cta admin privileges, can proceed with the workflow"
else
# displays what failed and fail
cat /etc/cta/cta-cli.conf
admin_cta admin ls
die "Could not launch cta-admin command."
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment