Skip to content

vvchistyakov/my-test-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

my-test-vagrant

This is skeleton for CentOS7 by vagrant. After when VM will be installed, you can find this git project directory in synced folder /opt/ in VM.

Build on your Laptop

brew cask install vagrant
brew cask install virtualbox
  • Install Vagrant plugin for VirtualBox
vagrant plugin install vagrant-vbguest
  • Add CentOS 7 image for VirtualBox
vagrant box add centos/7

Go to build place

  • Clone the Git project for your workmachine
  • Join into directory with the project
  • Generate SSH key if this is first vagrant installation, you shoul generate special shh key for access to virtual machines which will provision by Vagrant. Please will run this command if ~/.vagrant.d/insecure_private_key doesn't exist.
ssh-keygen -f ~/.vagrant.d/insecure_private_key
  • Build your Vagrant VM.
vagrant up
  • Connect to your builded VM.
vagrant ssh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages