Fix rootwrap cfg for src installed metadata proxy.

* The metadata proxy script will be installed to /usr/local/bin
   if installed from source, rather than the default /usr/bin.
   The filter config needs to be updated to reflect this or
   invacation of the proxy by the l3 agent will fail.

Change-Id: Iccb4133b1ac33a1b9b232c1d68979fe646e1b977
This commit is contained in:
Maru Newby 2012-12-04 00:27:53 +00:00
parent be0c33388e
commit 76e8e9365e

View File

@ -18,6 +18,9 @@ route: CommandFilter, /sbin/route, root
# metadata proxy
metadata_proxy: CommandFilter, /usr/bin/quantum-ns-metadata-proxy, root
# If installed from source (say, by devstack), the prefix will be
# /usr/local instead of /usr/bin.
metadata_proxy_local: CommandFilter, /usr/local/bin/quantum-ns-metadata-proxy, root
kill_metadata7: KillFilter, root, /usr/bin/python2.7, -9
kill_metadata6: KillFilter, root, /usr/bin/python2.6, -9