diff --git a/test/common/config/vm_setup.sh b/test/common/config/vm_setup.sh index 417192a350..ec945eeeb4 100755 --- a/test/common/config/vm_setup.sh +++ b/test/common/config/vm_setup.sh @@ -292,7 +292,7 @@ function install_ocf() if echo $CONF | grep -q ocf; then if [ ! -d "$targetdir" ]; then - sudo git clone "${GIT_REPO_OCF}" "$targetdir" -b "$version" + sudo -E git clone "${GIT_REPO_OCF}" "$targetdir" -b "$version" else echo "OCF already installed. Skipping" fi