GIT_ACCOUNT="vmware-provisioning"
GIT_PASSWD="shiesa&a4taich+iecah8Chu"
GIT_REPO_DIR="postfix_config"
-GIT_REPO="https://@@acount@@:@@pwd@@@git.pixelpark.com/ppadmin/${GIT_REPO_DIR}.git"
+GIT_SERVER="git.pixelpark.com"
+#GIT_NAMESPACE="ppadmin"
+#GIT_REPO="https://@@acount@@:@@pwd@@@git.pixelpark.com/ppadmin/${GIT_REPO_DIR}.git"
POSTFIX_MYORIGIN='pixelpark.net'
POSTFIX_RELAYHOST='[mx.pixelpark.net]'
mkdir -pv /var/tmp
cd /var/tmp
- local url=$( echo "${GIT_REPO}" | sed -e "s/@@acount@@/${GIT_ACCOUNT}/" \
- -e "s/@@pwd@@/${GIT_PASSWD}/" )
+# local url=$( echo "${GIT_REPO}" | sed -e "s/@@acount@@/${GIT_ACCOUNT}/" \
+# -e "s/@@pwd@@/${GIT_PASSWD}/" )
+ local url="https://${GIT_ACCOUNT}:${GIT_PASSWD}@${GIT_SERVER}/${GIT_NAMESPACE}/${GIT_REPO_DIR}.git"
echo "Using Git URL: '${url}' ..."
git clone "${url}"