From b52bd1fc5a00a3e1443e0cd30707ed961ea2a6f3 Mon Sep 17 00:00:00 2001 From: Anthony Xu Date: Fri, 7 Sep 2012 16:36:38 -0700 Subject: [PATCH] The file scripts/storage/secondary/cloud-install-sys-tmplt had a syntax error, provided-by : Marcus Sorensen --- scripts/storage/secondary/cloud-install-sys-tmplt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/storage/secondary/cloud-install-sys-tmplt b/scripts/storage/secondary/cloud-install-sys-tmplt index 55f3d18c93f..d744b56e4d6 100755 --- a/scripts/storage/secondary/cloud-install-sys-tmplt +++ b/scripts/storage/secondary/cloud-install-sys-tmplt @@ -106,7 +106,7 @@ fi if [ "$oflag" != 1 ]; then dbHost=$(sed '/^\#/d' /etc/cloud/management/db.properties | grep 'db.cloud.host' | tail -n 1 | cut -d "=" -f2- | sed 's/^[[:space:]]*//;s/[[:space:]]*$//') fi -if [ "$rflag" != 1]; then +if [ "$rflag" != 1 ]; then dbUser=$(sed '/^\#/d' /etc/cloud/management/db.properties | grep 'db.cloud.username' | tail -n 1 | cut -d "=" -f2- | sed 's/^[[:space:]]*//;s/[[:space:]]*$//') fi