From d928f6cd4bc297e89e0216ebea4c12a61b756e6d Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Wed, 17 Aug 2022 14:14:56 +0500 Subject: [PATCH] Enable iscsid for ubuntu on nutanix (#210) Signed-off-by: Waleed Malik Signed-off-by: Waleed Malik --- deploy/osps/default/osp-ubuntu.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/osps/default/osp-ubuntu.yaml b/deploy/osps/default/osp-ubuntu.yaml index 43cc4314..eb8a70ea 100644 --- a/deploy/osps/default/osp-ubuntu.yaml +++ b/deploy/osps/default/osp-ubuntu.yaml @@ -511,8 +511,16 @@ spec: {{- if or (eq .CloudProviderName "vsphere") (eq .CloudProviderName "vmware-cloud-director") }} open-vm-tools \ {{- end }} + {{- if eq .CloudProviderName "nutanix" }} + open-iscsi \ + {{- end }} ipvsadm + {{- /* iscsid service is required on Nutanix machines for CSI driver to attach volumes. */}} + {{- if eq .CloudProviderName "nutanix" }} + systemctl enable --now iscsid + {{ end }} + {{- template "containerRuntimeInstallation" }} {{- template "safeDownloadBinariesScript" }}