CentOS Setup Master CleanUp Script 57/1457/1
authorabhijit_onap <abhijit.das.gupta@huawei.com>
Fri, 23 Aug 2019 10:57:50 +0000 (10:57 +0000)
committerabhijit_onap <abhijit.das.gupta@huawei.com>
Fri, 23 Aug 2019 10:59:07 +0000 (10:59 +0000)
Will invoke cleanup_centos.sh script

Signed-off-by: abhijit_onap <abhijit.das.gupta@huawei.com>
Change-Id: I1d7f762f60363049943b434299a2a7d9ab27cca0

scripts/ci_management/cleanup_centos_control.sh [new file with mode: 0755]

diff --git a/scripts/ci_management/cleanup_centos_control.sh b/scripts/ci_management/cleanup_centos_control.sh
new file mode 100755 (executable)
index 0000000..54b5b06
--- /dev/null
@@ -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