Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create role to set network manager policies for VPN aware VMs #14

Open
sfloess opened this issue Nov 17, 2018 · 0 comments
Open

Create role to set network manager policies for VPN aware VMs #14

sfloess opened this issue Nov 17, 2018 · 0 comments

Comments

@sfloess
Copy link
Member

sfloess commented Nov 17, 2018

When one has a VM where they'd like to use nmcli to start/stop a VPN, one must modify the file /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy.

In particular the following actions require modification:

<action id="org.freedesktop.NetworkManager.network-control">
...
    <defaults>
        <allow_any>yes</allow_any>
...

<action id="org.freedesktop.NetworkManager.settings.modify.system">
...
    <defaults>
        <allow_any>yes</allow_any>
...

The Ansible xml module looks like a promising solution to change the aforementioned values.

@sfloess sfloess self-assigned this Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant