Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1-

...

Check vagrant and git

2- Install vagrant plugin

3- create the vagrantfile  ( for 2 VMs)

4- start the VM 

5- check the VM ( and ssh-config)

6- use the private key in mobaXterm



1- Check vagrant and git


➤ vagrant version
Installed Version: 1.9.3
Latest Version: 1.9.3
You're running an up-to-date version of Vagrant!

➤ git --version
git version 2.8.3


2- Install vagrant plugin

...

vagrant plugin install vagrant-junos



3- create the vagrantfile

cd /drives/c/Users/jkriker/Documents/vagrant/vsrx
➤ vi vagrantfile


  • Type the text below

Vagrant.configure("2") do |config|
  config.vm.define "ubuntu" do |ubuntu|
    ubuntu.vm.box = "ubuntu/trusty64"
    #ubuntu.vm.network "private_network", ip:"192.168.50.12"
  end
  config.vm.define "srx" do |srx|
    srx.vm.box = "juniper/ffp-12.1X47-D15.4"
    #srx.vm.network "private_network", ip:"192.168.50.10"
  end
end


4- start the VM 


cd /drives/c/Users/jkriker/Documents/vagrant/vsrx
➤ vagrant init

5- check the VM ( and ssh-config)

...