can you change the script a bit?
agrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.provision "shell", privileged: true, inline: <<-SHELL
groups vagrant
groupadd --force cvs
usermod -a -G cvs vagrant
groups vagrant
exit
SHELL
config.vm.provision "shell", privileged: false, inline: <<-SHELL
if [[ `exec sg cvs groups` =~ cvs ]] ; then echo yay ;else echo nay ;fi
true
SHELL
end
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ex2p1-P8n4A0Akke5cQeO-ryh_n8tfYg7NioC7YAC5DWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.