aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrent Eagles <beagles@redhat.com>2017-06-28 10:33:24 -0230
committerBrent Eagles <beagles@redhat.com>2017-07-11 13:40:00 -0230
commit2168e7b15d7d5e7c438806ee399f699a012d3840 (patch)
tree6cc366697999a0a41638fe6ed6040aec63744a4b
parent322f2dbd4c1d9c8617186bcb9211d7a1fe10ba3f (diff)
Add PCI to nova compute container for passthrough support
Nova's whitelist mechanism requires access to the PCI related directories in the filesystem to service PCI passthrough requests. Change-Id: Icfad1d116662798701228b142e224513f7dd22e2
-rw-r--r--docker/services/nova-compute.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/services/nova-compute.yaml b/docker/services/nova-compute.yaml
index 101934ff..e61cd4f5 100644
--- a/docker/services/nova-compute.yaml
+++ b/docker/services/nova-compute.yaml
@@ -117,6 +117,8 @@ outputs:
- /var/lib/nova:/var/lib/nova
- /var/lib/libvirt:/var/lib/libvirt
- /var/log/containers/nova:/var/log/nova
+ - /sys/class/net:/sys/class/net
+ - /sys/bus/pci:/sys/bus/pci
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks: