Help with vagrant up and multiple users.

17 views
Skip to first unread message

Phil Young

unread,
Apr 4, 2019, 8:53:39 AM4/4/19
to Vagrant
Hi.

I am using vagrant and virtual box on windows and have changed vagrant_home in my system and user env. Variables. I can successfully package and add boxes to my chosen folders.

I can also vagrant unit and vagrant up without issue.

However. When I log in as a new user to the machine and vagrant up the box, vagrant insists on importing the boxfile again and creating a new instance.

I would like to have a way for any user to navigate to my chosen folder and vagrant up a box I have built. Why do I keep getting a new box being made please?

I have removed all user specific paths I can see.

Thanks

Phil Young

unread,
Apr 4, 2019, 11:59:26 AM4/4/19
to Vagrant
I have managed a workaround....

I removed my setx...path /M

I then gave each user their own setx vagrant_home

This means that different users can remote in but they have their own personal vagrant store meaning they need to add any boxes I create individually.

In an ideal world there would be one vagrant repository for all users of one box.

I have been playing with it for a while and am relatively comfortable with it now, but this is the first time I have been dealing with multiple users.

Thoughts welcome:) ta

Reply all
Reply to author
Forward
0 new messages