Skip to content

Instantly share code, notes, and snippets.

@surajssd
Created November 17, 2018 06:44
Show Gist options
  • Select an option

  • Save surajssd/25832937e5574fe0fc7013e5cdacb022 to your computer and use it in GitHub Desktop.

Select an option

Save surajssd/25832937e5574fe0fc7013e5cdacb022 to your computer and use it in GitHub Desktop.
sudo -i
echo "
[Allow vagrant libvirt management permissions]
Identity=unix-user:vagrant
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes
" | tee /etc/polkit-1/localauthority/50-local.d/vagrant.pkla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment