summaryrefslogtreecommitdiffstats
path: root/etc/nova/rootwrap.d
diff options
context:
space:
mode:
authorDevananda van der Veen <devananda.vdv@gmail.com>2012-12-21 20:15:38 -0800
committerDevananda van der Veen <devananda.vdv@gmail.com>2012-12-28 14:53:55 -0800
commitf1bb1a213b63df050e98dbdeb1e7fb5ea8f3e05c (patch)
treea2a3425e17750f84e001bd601f1f75c2cb61a5f4 /etc/nova/rootwrap.d
parent0279d846abd20904fa5a1d357fac6727005a2943 (diff)
downloadnova-f1bb1a213b63df050e98dbdeb1e7fb5ea8f3e05c.tar.gz
nova-f1bb1a213b63df050e98dbdeb1e7fb5ea8f3e05c.tar.xz
nova-f1bb1a213b63df050e98dbdeb1e7fb5ea8f3e05c.zip
Implement IPMI sub-driver for baremetal compute
This patch implements only the IPMI power manager for baremetal nova compute. Documentation will come in a separate patch. blueprint general-bare-metal-provisioning-framework Change-Id: I60ccfbf963d7bbf6f840e627396601b7bba80e7f
Diffstat (limited to 'etc/nova/rootwrap.d')
-rw-r--r--etc/nova/rootwrap.d/baremetal_compute_ipmi.filters9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/nova/rootwrap.d/baremetal_compute_ipmi.filters b/etc/nova/rootwrap.d/baremetal_compute_ipmi.filters
new file mode 100644
index 000000000..a2858cd11
--- /dev/null
+++ b/etc/nova/rootwrap.d/baremetal_compute_ipmi.filters
@@ -0,0 +1,9 @@
+# nova-rootwrap command filters for compute nodes
+# This file should be owned by (and only-writeable by) the root user
+
+[Filters]
+# nova/virt/baremetal/ipmi.py: 'ipmitool', ..
+ipmitool: CommandFilter, /usr/bin/ipmitool, root
+
+# nova/virt/baremetal/ipmi.py: 'kill', '-TERM', str(console_pid)
+kill_shellinaboxd: KillFilter, root, /usr/local/bin/shellinaboxd, -15, -TERM