CentOS Setup Master CleanUp Script
[eliot.git] / scripts / ci_management / cleanup_centos_control.sh
1 #!/usr/bin/expect -f
2 ##############################################################################
3 # Copyright (c) 2019 Huawei Tech and others.                                 #
4 #                                                                            #
5 # All rights reserved. This program and the accompanying materials           #
6 # are made available under the terms of the Apache License, Version 2.0      #
7 # which accompanies this distribution, and is available at                   #
8 # http://www.apache.org/licenses/LICENSE-2.0                                 #
9 ##############################################################################
10
11 spawn ./cleanup_centos.sh
12 expect "Are you sure you want to proceed? "
13 send "y\n"
14
15 expect "Are you sure you want to proceed? "
16 send "y\n"
17 interact