Fixed dug in script.

Change-Id: I066cfa31e5544a58358c63a9ba0c5564687c0fba
This commit is contained in:
TimurNurlygayanov
2014-01-15 18:59:48 +04:00
parent 5f81d98547
commit 5a559e883e

View File

@@ -40,13 +40,14 @@ send -- [lindex $argv 3]
send -- " restart\n"
expect "@murano"
array set folders ['repository-data', 'repository-cache', 'dashboard-cache', 'conductor-cache']
foreach folder $folders
{
send -- "cd /tmp/murano$folder ; rm -rf *\n"
expect "@murano"
}
send -- "cd /tmp/muranorepository-data ; rm -rf *\n"
expect "@murano"
send -- "cd /tmp/muranorepository-cache ; rm -rf *\n"
expect "@murano"
send -- "cd /tmp/muranodashboard-cache ; rm -rf *\n"
expect "@murano"
send -- "cd /tmp/muranoconductor-cache ; rm -rf *\n"
expect "@murano"
send -- "service murano-repository restart\n"
send -- "service murano-conductor restart\n"