Difference between vagrant and vagrant d directories

0 votes

What's the difference between .vagrant and .vagrant.d directories and the private_key and insecure_private_key stored in the respective directories?

C:\Users\username**.vagrant**\machines\default\virtualbox\private_key

C:\Users\username**.vagrant.d**\insecure_private_key

This was not stated in the docs and couldn't find it anywhere else either.

Jul 20, 2018 in Other DevOps Questions by ffdfd
• 5,550 points
4,378 views

1 answer to this question.

0 votes

All your system-wide settings for your downloaded vagrant boxes are stored in .vagrant.d directory which is placed in your home directory.

.vagrant on the other hand is in you environment/project directory and holds individual projects settings i.e. your current VM settings. Whenever you create and execute a vagrantfile, a .vagrant directory is created with VM specific data.

The .vagrant.d/insecre_private_key is the default insecure private key to use your VM(s). It's replaced by vagrant on first VM start with private_key from project's .vagrant directory. In your example: private_key for default VM started with virtualbox provider.

answered Jul 20, 2018 by DareDev
• 6,890 points

Related Questions In Other DevOps Questions

0 votes
1 answer

What is the difference between maven and makefile?

I don't think maven and makefile are ...READ MORE

answered Oct 23, 2020 in Other DevOps Questions by Hana
2,274 views
0 votes
0 answers

What is the difference between Azure devops and VSTS

I integrated VSTS with our testing environment ...READ MORE

Mar 26, 2022 in Other DevOps Questions by Kichu
• 19,040 points
444 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 votes
1 answer
0 votes
1 answer

AWS health check and management

You can use Application Loadbalancer or AWS ...READ MORE

answered Aug 20, 2018 in Other DevOps Questions by DareDev
• 6,890 points
846 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP