X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpacker-clear-credentials.sh;fp=shell%2Fpacker-clear-credentials.sh;h=099f559151712b3e5f9bb8a1acedbc74fbbb19f8;hb=10821edc619b09e4623884b02900c39431f8a809;hp=0000000000000000000000000000000000000000;hpb=c08bbada6e92c88817f2f591285347f9a7b4a732;p=releng%2Fglobal-jjb.git diff --git a/shell/packer-clear-credentials.sh b/shell/packer-clear-credentials.sh new file mode 100644 index 00000000..099f5591 --- /dev/null +++ b/shell/packer-clear-credentials.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## +echo "---> packer-clear-credentials.sh" + +#!/bin/bash +set +e # DO NOT cause build failure if any of the rm calls fail. +rm "$CLOUDENV" +rm "$HOME/.config/openstack/clouds.yaml" +exit 0