diff --git a/xCAT-server/share/xcat/tools/go-xcat b/xCAT-server/share/xcat/tools/go-xcat index e6f2a705f..bf37f8326 100755 --- a/xCAT-server/share/xcat/tools/go-xcat +++ b/xCAT-server/share/xcat/tools/go-xcat @@ -1322,13 +1322,6 @@ function add_xcat_core_repo_yum_or_zypper() local ver="$2" local tmp="" [[ -z "${ver}" ]] && ver="latest" - - echo "\nim here!!!!!\n" - - if [[ ${ver} == "stable" ]] - then - ver="latest" - fi if [[ -z "${url}" ]] then @@ -1356,13 +1349,6 @@ function add_xcat_core_repo_apt() local ver="$2" local tmp="" [[ -z "${ver}" ]] && ver="latest" - - echo "\nim here2!!!!!\n" - - if [[ ${ver} == "stable" ]] - then - ver="latest" - fi if [[ -z "${url}" ]] then @@ -1399,13 +1385,6 @@ function add_xcat_dep_repo_yum_or_zypper() local ver="$2" [[ -z "${ver}" ]] && ver="latest" - echo "\nim here3!!!!!\n" - - if [[ ${ver} == "stable" ]] - then - ver="latest" - fi - local tmp="" local install_path="${GO_XCAT_DEFAULT_INSTALL_PATH}" local distro="${GO_XCAT_LINUX_DISTRO}${GO_XCAT_LINUX_VERSION%%.*}" @@ -1475,13 +1454,6 @@ function add_xcat_dep_repo_apt() local ver="$2" [[ -z "${ver}" ]] && ver="latest" - echo "\nim here4!!!!!\n" - - if [[ ${ver} == "stable" ]] - then - ver="latest" - fi - [[ -z "${url}" ]] && url="${GO_XCAT_DEFAULT_BASE_URL}/apt/${ver}/xcat-dep" add_repo_by_url_apt "${url}" "xcat-dep" @@ -2049,6 +2021,11 @@ do shift done +if [[ ${GO_XCAT_VERSION} == "stable" ]] + then + ${GO_XCAT_VERSION} = "latest" +fi + case "${GO_XCAT_ACTION}" in "away") GO_XCAT_YES=("-y")