blob: dd440c2480fb9e7a428f900bbb3a18bf68752a7b [file] [log] [blame]
Manjunath Ranganathaiahda77b642018-09-28 16:15:07 -07001#!/bin/bash
2#
3# Copyright 2018 Intel Corporation
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17
18CASERVICE_DATA="$(pwd)/data/caservice"
19DISTCENTER_DATA="$(pwd)/data/distcenter"
20ABRMD_DATA="$(pwd)/data/abrmd"
21rm -rf $CASERVICE_DATA/host_testnode
22rm -rf $DISTCENTER_DATA/host_testnode
23rm -f $DISTCENTER_DATA/privkey.pem.gpg
24rm -f $DISTCENTER_DATA/ca.cert
25rm -rf $ABRMD_DATA/host_testnode
26rm -rf /tmp/run/dbus
27
28docker stop tpm-init abrmd distcenter testca aafca
29docker rm tpm-init abrmd distcenter testca aafca
30rm -f setup.log
31rm -f $CASERVICE_DATA/*.gpg
32rm -f $ABRMD_DATA/cred/opass*
33rm -f $ABRMD_DATA/cred/srk_handle*
34