Add rootwrap for touch

* fixes bug 969959

Change-Id: I8baca18c57ed1311a2f3aeb93ad92e34be380c50
This commit is contained in:
Vishvananda Ishaya 2012-03-31 15:05:44 -07:00
parent 37dad352a1
commit 6883447ea0

View File

@ -182,6 +182,9 @@ filterlist = [
# nova/virt/libvirt/utils.py: 'qemu-img' # nova/virt/libvirt/utils.py: 'qemu-img'
filters.CommandFilter("/usr/bin/qemu-img", "root"), filters.CommandFilter("/usr/bin/qemu-img", "root"),
# nova/virt/disk/api.py: 'touch', target
filters.CommandFilter("/usr/bin/touch", "root"),
# nova/virt/libvirt/connection.py: # nova/virt/libvirt/connection.py:
filters.ReadFileFilter("/etc/iscsi/initiatorname.iscsi"), filters.ReadFileFilter("/etc/iscsi/initiatorname.iscsi"),