From f1bb1a213b63df050e98dbdeb1e7fb5ea8f3e05c Mon Sep 17 00:00:00 2001 From: Devananda van der Veen Date: Fri, 21 Dec 2012 20:15:38 -0800 Subject: 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 --- etc/nova/rootwrap.d/baremetal_compute_ipmi.filters | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 etc/nova/rootwrap.d/baremetal_compute_ipmi.filters (limited to 'etc') 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 -- cgit