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
| ... | ... |
@@ -87,7 +87,7 @@ EOF |
| 87 | 87 |
cat <<EOF | sudo tee $rules_dir/50-libvirt-$STACK_USER.rules |
| 88 | 88 |
polkit.addRule(function(action, subject) {
|
| 89 | 89 |
if (action.id == 'org.libvirt.unix.manage' && |
| 90 |
- subject.user == '"$STACK_USER"') {
|
|
| 90 |
+ subject.user == '$STACK_USER') {
|
|
| 91 | 91 |
return polkit.Result.YES; |
| 92 | 92 |
} |
| 93 | 93 |
}); |