hello

to answer your question.
you could download the gem file and then try
vagrant plugin install <vagrant-vbguest.gem>

however the only thing this plugin does is to reinstall virtualbox guest
additions if not detected, the operation on the vm may need internet, as
the OS may need packages (perl gcc kernel-headers kernel-sources)

so i think will be better if you create your own box ready to use, and then
on the machines without internet access you just use them

this will also make happier the end user as will be quicker

you can use packer tool to build boxes, and you can use bento boxes as
sample starting points

https://packer.io/downloads.html

https://github.com/chef/bento

alvaro

On Tue, Mar 17, 2020 at 3:35 PM Siew <nai...@csit.gov.sg> wrote:

> Hi Vagrant community
>
> I installed vagrant-vbguest plugin successfully in a virtual box that is
> connected to Internet using "vagrant plugin install vagrant-vbguest".
>
> I had to reproduce the above in my offline production environment and
> without internet, it did not work.
> Error was "Vagrant failed to load a configured plugin source... no such
> name (https://gems.hashicorp.com/specs.4.8.gz)".
>
> How can I install VirtualBox guest additions offline?
>
> Many thanks in advance.
>
>
> This email is intended only for the named addressee(s) and may contain
> confidential and/or privileged information. If you are not the named
> addressee (or have received this e-mail in error), please notify the sender
> immediately. The unauthorised use, disclosure, distribution or copying of
> the contents in this e-mail is prohibited.
>
> Thank you
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/5d21bfd5-0533-4fad-8e71-a70b9cbb7908%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/5d21bfd5-0533-4fad-8e71-a70b9cbb7908%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewJTfO6rXDSev2nnrM9WZW%3DRGPEFRwgcbZ7vntKX8sEZQ%40mail.gmail.com.

Reply via email to