diff options
author | sharath reddy <bs.reddy@huawei.com> | 2022-05-25 16:07:43 +0530 |
---|---|---|
committer | Michael Pedersen <michaelx.pedersen@intel.com> | 2022-05-31 05:33:44 +0000 |
commit | f845220cd17f89c8e1c68aecb3f0c7e82a56aa03 (patch) | |
tree | 22e8480a3b8b684ba04b61d851248f7c2b3d3788 | |
parent | 3c59b039817a4f87e081f7d968c2172cd8d00bf8 (diff) |
add sudostable/moselle
Issue-ID: KUB-64
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: If7b5b20a46881fb06e873f3fd8d4427dad7bdb91
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/73388
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Dan Xu <xudan16@huawei.com>
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
Reviewed-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
-rwxr-xr-x | functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.sh b/functions.sh index 63f1490..4eaa281 100755 --- a/functions.sh +++ b/functions.sh @@ -69,7 +69,7 @@ check_prerequisites() { #------------------------------------------------------------------------------- if [ "$OS_ID" == "ubuntu" ]; then - apt update + sudo apt update -y ansible --version RESULT=$? if [ $RESULT -ne 0 ]; then @@ -109,7 +109,7 @@ check_prerequisites() { elif [ "$OS_ID" == "centos" ]; then - yum update + sudo yum update -y ansible --version RESULT=$? if [ $RESULT -ne 0 ]; then |