From ab12081fd8eb08d08af3d102459cb286e8a65e2b Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 10 Jan 2018 18:48:20 -0500 Subject: [PATCH] - Install proper version of rdma package (#995) + Depending on the order of the found available packages the wrong rdma package may be installed. Use the proper variable to identify the package version to install --- azurelinuxagent/pa/rdma/suse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azurelinuxagent/pa/rdma/suse.py b/azurelinuxagent/pa/rdma/suse.py index 729c842..2b6ae29 100644 --- a/azurelinuxagent/pa/rdma/suse.py +++ b/azurelinuxagent/pa/rdma/suse.py @@ -91,7 +91,7 @@ class SUSERDMAHandler(RDMAHandler): logger.info("Package '%s' is not a match." % entry) else: logger.info("Package '%s' is a match. Installing." % entry) - complete_name = '%s-%s' % (package_name, version) + complete_name = '%s-%s' % (package_name, entry) cmd = zypper_install % complete_name result = shellutil.run(cmd) if result: