Hey Anatoly,

You can actually use Vagrant Cloud for this. Is you publish the box to Vagrant 
Cloud, you can use the `vagrant box outdated` command to check for a new 
version.

Best,
Seth

> On Nov 8, 2014, at 12:05 PM, anatoly techtonik <[email protected]> wrote:
> 
> Hi,
> 
> Is it possible to check if a certain box exists from Vagrantfile?
> 
> I have a configuration that builds a box out of public image, but it work too 
> long, so I occasionally create snapshot of new box with `vagrant package` and 
> import that instead. I want to automate the process and use base box only if 
> snapshot does not exist. Is that possible?
> 
> -- 
> 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 [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to