Work with cloud user to find CentOS 5.3 passwd

This commit is contained in:
Prasanna Santhanam 2012-10-09 19:41:51 +05:30
parent b0c7e385d7
commit 71437addf5
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ do
done
#Damn Small Linux ISO type
ostypeid=$(mysql -uroot -Dcloud -h$DB_SVR -s -N -r -e"select uuid from guest_os where display_name='CentOS 5.3 (64-bit)'")
ostypeid=$(mysql -ucloud -Dcloud pcloud -h$DB_SVR -s -N -r -e"select uuid from guest_os where display_name='CentOS 5.3 (64-bit)'")
if [[ $ostypeid == "" ]]; then
echo "Unable to contact DB server @ $DB_SVR"
exit 2