Vagrant up Produces Vagrantfile Error on Required Plugins

74 views
Skip to first unread message

blue...@gmail.com

unread,
Oct 13, 2018, 10:00:56 PM10/13/18
to Vagrant
Hi all...

I have vagrant installed on Win10 and also run it in Linux Mint.  I want to run vSRX-Square, a Juniper router emulation setup.  When I vagrant up on both platforms from within the vSRX directory, I get a error pointing to the Vagrantfile.

Here's contents of the vSRX install from within Linux:

oberon@Oberon /usr/bin/vSRX-Square $ ls -al
total 120
drwxr-xr-x 9 root root  4096 Sep 29 21:30 .
drwxr-xr-x 4 root root 69632 Oct 13 21:04 ..
drwxr-xr-x 2 root root  4096 Sep 29 18:28 docs
drwxr-xr-x 8 root root  4096 Sep 29 18:28 .git
-rw-r--r-- 1 root root    34 Sep 29 18:28 .gitignore
-rw-r--r-- 1 root root  1206 Sep 29 18:28 README.md
drwxr-xr-x 2 root root  4096 Sep 29 18:28 scripts
drwxrwxrwx 2 root root  4096 Sep 29 18:40 .vagrant
-rw-r--r-- 1 root root  9707 Sep 29 21:30 Vagrantfile
drwxr-xr-x 5 root root  4096 Sep 29 20:28 vagrant-host-shell
drwxr-xr-x 5 root root  4096 Sep 29 20:27 vagrant-junos
drwxr-xr-x 2 root root  4096 Sep 29 18:28 vSRX-configs

Here is the error message:

oberon@Oberon /usr/bin/vSRX-Square $ vagrant up
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: /usr/bin/vSRX-Square/Vagrantfile
Line number: 7
Message: LoadError: cannot load such file -- vagrant-host-shell

I have re-installed Vagrant multiple times, reinstalled the required plugins, re-installed Ruby and pretty much everything else it needs to run and still no joy.

Any insight?   If anyone requires any further information, I can certainly provide that.

Thanks,

Bluegravy

blue...@gmail.com

unread,
Oct 13, 2018, 10:03:44 PM10/13/18
to Vagrant
Attached is the Vagrantfile that is producing the errors.
Vagrantfile

Alvaro Miranda Aguilera

unread,
Oct 15, 2018, 2:29:10 AM10/15/18
to vagra...@googlegroups.com
better you check with the person who created this Vagrantfile
but from the error it seems you are missing a plugin

try
vagrant plugin install vagrant-host-shell

alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/bd48386d-380e-4915-a3b7-015d0ae16433%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages