Discussion:
[vagrant-up] Vagrant up Produces Vagrantfile Error on Required Plugins
b***@gmail.com
2018-10-14 02:00:56 UTC
Permalink
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 /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 /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
--
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.
b***@gmail.com
2018-10-14 02:03:44 UTC
Permalink
Attached is the Vagrantfile that is producing the errors.
Post by b***@gmail.com
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.
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:*
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
--
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/f494fd9d-863d-41c0-871f-5dd3066bfc88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-10-15 06:28:50 UTC
Permalink
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
Post by b***@gmail.com
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.
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:*
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
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/bd48386d-380e-4915-a3b7-015d0ae16433%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/bd48386d-380e-4915-a3b7-015d0ae16433%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/CAHqq0eykHac2OSWV77dGUcQMTrqUFvP91e8c1CXFT1MpShenxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...