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

auto install vagrant env plugin #9

Open
zeroedin opened this issue Oct 22, 2019 · 0 comments
Open

auto install vagrant env plugin #9

zeroedin opened this issue Oct 22, 2019 · 0 comments
Assignees

Comments

@zeroedin
Copy link
Contributor

It is possible to auto install vagrant plugins, look into the possibility of adding this code to reduce user install commands:

unless Vagrant.has_plugin?('vagrant-s3auth')
  # Attempt to install ourself. Bail out on failure so we don't get stuck in an
  # infinite loop.
  system('vagrant plugin install vagrant-env') || exit!

  # Relaunch Vagrant so the plugin is detected. Exit with the same status code.
  exit system('vagrant', *ARGV)
end
@zeroedin zeroedin self-assigned this Oct 22, 2019
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