Is there a better way to do this?

42 views
Skip to first unread message

Tennis Smith

unread,
Sep 30, 2014, 3:52:22 PM9/30/14
to vagra...@googlegroups.com

Hi,

There is a point in the "vagrant up" process that is exactly what I would like to keep as a vanilla box for future tests. 

Can "vagrant package" be called inside of a Vagrantfile?   Bad idea?

-T

Wes McClure

unread,
Oct 2, 2014, 7:33:02 PM10/2/14
to vagra...@googlegroups.com
You might want to try packer: http://www.packer.io/ for the vanilla box and then layer the rest of the provisioning with vagrant.

If that doesn't jive, I'd be happy to brainstorm more ideas :)

Erik Anderson

unread,
Oct 3, 2014, 12:29:47 AM10/3/14
to vagra...@googlegroups.com
On Tue, Sep 30, 2014 at 2:52 PM, Tennis Smith <ten...@nextgxdx.com> wrote:
> Can "vagrant package" be called inside of a Vagrantfile? Bad idea?

Are you asking if you can install vagrant inside of vagrant? As in
double virtualization?

At worst, this is impossible and at best, performance will be horrible.

What *exactly* are you trying to accomplish? Please provide more
details, as your initial email was somewhat unclear.

-Erik

Tennis Smith

unread,
Oct 3, 2014, 10:19:45 AM10/3/14
to vagra...@googlegroups.com
I agree.  Packer is best suited for this.  Thanks for the pointer.  

-T

--
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/cdHsyTa75N4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages