Vagrant Commands

To install the centos 7 Linux

vagrant init centos/7
vagrant up --provider virtualbox
vagrant box add centos/7 # for CentOS Linux 7

To start the VM first time

seq 1 6 |xargs -L 1 -I {} -t vagrant up "node-0{}"
seq 1 6 |xargs -L 1 -I {}  echo "{} node-0{}"

Install the plugins

vagrant plugin install  vagrant-persistent-storage

To clean up the old vm box

vagrant global-status
vagrant global-status --prune

Copyright © 2004, Software Groups