Forking a box from vagrantcloud

25 views
Skip to first unread message

Mauricio Scheffer

unread,
Feb 11, 2015, 11:25:06 AM2/11/15
to vagra...@googlegroups.com
I know this is technically not related to Vagrant itself but maybe someone can help or point me to the right place to ask this.
Say I want to use this box: https://vagrantcloud.com/ypereirareis/boxes/debian-elasticsearch-amd64 but I want to upgrade Java and Elasticsearch. How do I go about forking and upgrading this? I can't seem to find the source for these boxes.

Thanks,
Mauricio

Alvaro Miranda Aguilera

unread,
Feb 11, 2015, 3:48:03 PM2/11/15
to vagra...@googlegroups.com
Hello,

You can send an email asking the person who did that box for info on sources.

http://blog.overnetcity.com/me-contacter/

Or, the Easiest way:

mkdir myversion
cd myversion
vagrant init ypereirareis/debian-elasticsearch-amd64 -m
vagrant up

once you are happy with the results

delete /etc/udev/rules.d/70-persistent-net.rule or similar if present
vagrant halt

VBoxManage list vms

vagrant package --base <name_as_in_VBOX> --output <name.box>


https://docs.vagrantup.com/v2/cli/package.html

--base NAME - Instead of packaging a VirtualBox machine that Vagrant
manages, this will package a VirtualBox machine that VirtualBox
manages. NAME should be the name or UUID of the machine from the
VirtualBox GUI.

--output NAME - The resulting package will be saved as NAME. By
default, it will be saved as package.box.
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

Mauricio Scheffer

unread,
Feb 12, 2015, 6:32:16 AM2/12/15
to vagra...@googlegroups.com
Thanks, I'll give that a try!


--
Mauricio

You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/RQIOxZt6Gek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages