-
Notifications
You must be signed in to change notification settings - Fork 181
Attempt to find the lxc-version command using sudo if not in default PATH (Fixes #195) #186
Attempt to find the lxc-version command using sudo if not in default PATH (Fixes #195) #186
Conversation
... if lxc-version is not found in the efault PATH Fixes fgrehm#195
So this patch fixes the issue for you? |
Ideally we should make this less error prone and change it to look into known paths, but if this works for you I'm happy to merge it ;) |
This works for me and seems like a reasonable solution :) most commands are (or should?) be executed using sudo or the wrapper anyhow. |
Cool, I'll try to give it a go and release a new version later on tonight :) thanks for the PR! |
@vStone This is coming in now but I'll do a small change to make things simpler and will /cc you on the commit. Thanks for the patch :-) |
…oot-path Attempt to find the lxc-version command using sudo if not in default PATH (Fixes #195)
Hi, I've tried to follow instructions https://github.com/ricardoamaro/drupal-lxc-vagrant-docker sudo vagrant plugin install vagrant-lxc sudo vagrant up --provider=lxc sudo which lxc-version
I am unsure in layman's terms what to do here, I have the master version from github. What should be on my path, i.e. - on Mac OS. Thank you. |
@mccrodp vagrant-lxc is not supported on Mac! |
Ahh ok. I will use for dev/stage/prod envs and not local dev. Thank you @fgrehm. |
I came here from a similar error on a Vagrant project and I realized I forgot to install lxc!
|
Fixes #185