-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fixing excessive sudo'ing #1
Comments
Sounds good to me, would be great to see a PR :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there! I recently used this guide to get Vagrant working on Travis. As part of this, I ran into some problems that I thought were caused by excessive sudo'ing for Vagrant. It later turned out they weren't, but as part of fixing this, I discovered how to get rid of the unnecessary
sudo vagrant
.My final file is located at https://github.com/themotte/tildes/blob/master/.travis.yml but the tl;dr is:
libvirt
group, but there doesn't seem to be any working way to change the Travis user's group at runtime; use sed to edit libvirt's config file to refer to thetravis
group instead, then restart libvirtsudo vagrant plugin install
causes plugins to be installed as root, which causes access issues; remove the sudo to fix itI'm not sure how much you care about not running vagrant as root, but it'd probably make things easier for other people. I can put together an actual pull request if you'd like!
The text was updated successfully, but these errors were encountered: