commit | a42650fb7e4d3fc8853f04d84109199fa1d9f5e4 | [log] [tgz] |
---|---|---|
author | Attila Fazekas <afazekas@redhat.com> | Thu Feb 27 13:08:30 2014 +0100 |
committer | Attila Fazekas <afazekas@redhat.com> | Thu Feb 27 13:08:30 2014 +0100 |
tree | d009caca768b94993241615b19dd1de8b7b3afcd | |
parent | 52730e49e59803db3720d6e2d9ace1ec03d728bd [diff] [blame] |
Fix libvirt polkit settings After the https://review.openstack.org/#/c/75314 merged the /etc/polkit-1/rules.d/50-libvirt-stack.rules files contains subject.user == '"stack"' instead of subject.user == 'stack'. Change-Id: I09f252b2d0e53f012facb9f7eaa21c1e1bdf492b
diff --git a/lib/nova_plugins/hypervisor-libvirt b/lib/nova_plugins/hypervisor-libvirt index a550600..dc999ed 100644 --- a/lib/nova_plugins/hypervisor-libvirt +++ b/lib/nova_plugins/hypervisor-libvirt
@@ -87,7 +87,7 @@ cat <<EOF | sudo tee $rules_dir/50-libvirt-$STACK_USER.rules polkit.addRule(function(action, subject) { if (action.id == 'org.libvirt.unix.manage' && - subject.user == '"$STACK_USER"') { + subject.user == '$STACK_USER') { return polkit.Result.YES; } });