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 Atul
• 5,470 points
107 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,520 points

Related Questions In Other DevOps Questions

0 votes
1 answer

Use vagrant to update $PATH of guest vm

Just try the below script: mvm.vm.provision :shell, :inline ...READ MORE

answered May 1, 2018 in Other DevOps Questions by shubham
• 6,480 points
48 views
+1 vote
2 answers

When do we use Chef or Azure SDK to create VM and deploy in automation

The solution to the automated deployment in ...READ MORE

answered Aug 21, 2018 in Other DevOps Questions by Priyaj
• 56,120 points
105 views
+3 votes
6 answers

Devops and security

By using tools that are shared across the ...READ MORE

answered Oct 23, 2018 in Other DevOps Questions by Anvit
32 views
+13 votes
2 answers
0 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,520 points
21 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.