Hi Russell,

I don't  there is any clean way, as the configuration (including all
Vagrantfiles) must be evaluated before Vagrant can identify the machine.
Maybe you could shell out for `vagrant status`, but then you have to
somehow avoid the infinite recursion.

-- 
Teemu


On Tue, May 20, 2014 at 11:37 PM, Russell Roy <[email protected]> wrote:

> Is there any way to query the machine state from within a Vagrantfile?
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to