From 332a0a9601d3038538ef52189da97880a2ed8cfa Mon Sep 17 00:00:00 2001
From: Hamdy Khader <hamdyk@mellanox.com>
Date: Thu, 16 Aug 2018 13:25:25 +0300
Subject: [PATCH] Add nvme-cli to nova compute packages

Change-Id: I7688a1c2065ed9183e5eeaaade8e31e0f76b4467
---
 docker/nova/nova-compute-ironic/Dockerfile.j2 | 1 +
 docker/nova/nova-compute/Dockerfile.j2        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/docker/nova/nova-compute-ironic/Dockerfile.j2 b/docker/nova/nova-compute-ironic/Dockerfile.j2
index f798f69ee0..bc387d0398 100644
--- a/docker/nova/nova-compute-ironic/Dockerfile.j2
+++ b/docker/nova/nova-compute-ironic/Dockerfile.j2
@@ -11,6 +11,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
     {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
 
         {% set nova_compute_ironic_packages = nova_compute_ironic_packages + [
+            'nvme-cli',
             'openstack-nova-compute'
         ] %}
 {{ macros.install_packages(nova_compute_ironic_packages | customizable("packages")) }}
diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2
index bc84b42508..702d2cbbb5 100644
--- a/docker/nova/nova-compute/Dockerfile.j2
+++ b/docker/nova/nova-compute/Dockerfile.j2
@@ -15,6 +15,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
             'genisoimage',
             'iscsi-initiator-utils',
             'nfs-utils',
+            'nvme-cli',
             'openstack-nova-compute',
             'openvswitch',
             'parted',