From dfd402ecc270e9bb85a52d634fd2d1c76305a8dc Mon Sep 17 00:00:00 2001 From: andyliuliming Date: Tue, 23 Feb 2016 17:32:06 +0800 Subject: [PATCH] the -y should not concat with package name. --- waagent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waagent b/waagent index 591d217..c486bd3 100644 --- a/waagent +++ b/waagent @@ -1308,7 +1308,7 @@ class centosDistro(redhatDistro): self.command_to_install_wrapper_package = self.yum_path + " install -q -y " + self.wrapper_package_name self.command_to_remove_rdma_package = self.yum_path + " erase -q -y " + self.rdma_package_name self.command_to_install_rdma_package = self.yum_path + " install -q -y %s/%s" - self.command_to_remove_rdma_kmod_package = self.yum_path + " erase -q -y" + self.rdma_kmod_package_name + self.command_to_remove_rdma_kmod_package = self.yum_path + " erase -q -y " + self.rdma_kmod_package_name self.command_to_install_rdma_kmod_package = self.yum_path + " install -q -y %s/%s" def get_command_to_add_repository(self, updateRdmaRepository):