From 84bd913c6d3a87caa7a197968027c47810ba16b5 Mon Sep 17 00:00:00 2001 From: abhijit_onap Date: Fri, 23 Aug 2019 10:57:50 +0000 Subject: [PATCH] CentOS Setup Master CleanUp Script Will invoke cleanup_centos.sh script Signed-off-by: abhijit_onap Change-Id: I1d7f762f60363049943b434299a2a7d9ab27cca0 --- scripts/ci_management/cleanup_centos_control.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/ci_management/cleanup_centos_control.sh diff --git a/scripts/ci_management/cleanup_centos_control.sh b/scripts/ci_management/cleanup_centos_control.sh new file mode 100755 index 0000000..54b5b06 --- /dev/null +++ b/scripts/ci_management/cleanup_centos_control.sh @@ -0,0 +1,17 @@ +#!/usr/bin/expect -f +############################################################################## +# Copyright (c) 2019 Huawei Tech and others. # +# # +# All rights reserved. This program and the accompanying materials # +# are made available under the terms of the Apache License, Version 2.0 # +# which accompanies this distribution, and is available at # +# http://www.apache.org/licenses/LICENSE-2.0 # +############################################################################## + +spawn ./cleanup_centos.sh +expect "Are you sure you want to proceed? " +send "y\n" + +expect "Are you sure you want to proceed? " +send "y\n" +interact -- 2.16.6