Merge "CentOS Setup Master CleanUp Script"
authorkhemendra kumar <khemendra.kumar13@gmail.com>
Tue, 12 Nov 2019 06:05:49 +0000 (06:05 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Tue, 12 Nov 2019 06:05:49 +0000 (06:05 +0000)
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