# Multi machine, start first machine then trigger second from primary machine

**URL:** <https://discuss.hashicorp.com/t/multi-machine-start-first-machine-then-trigger-second-from-primary-machine/21978>\
**Category:** Vagrant\
**Created:** [March 12, 2021, 12:16pm UTC](https://discuss.hashicorp.com/t/multi-machine-start-first-machine-then-trigger-second-from-primary-machine/21978 "2021-03-12T12:16:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ditikos](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/ditikos/32/17938_2.png) [@ditikos](https://discuss.hashicorp.com/u/ditikos)\
**Post date:** [March 12, 2021, 12:16pm UTC](https://discuss.hashicorp.com/t/multi-machine-start-first-machine-then-trigger-second-from-primary-machine/21978/1 "2021-03-12T12:16:09Z")

</div>

Hi all,

I am running a multi-machine vagrant which in the first machine I am preparing a gateway and a second one would be the actual machine “behind” the gateway. Is there a way to trigger starting the second machine when the provisioning of the first one ends (I assume ruby and vagrant trigger for this)…?

---

<div class="post-metadata">

**Author:** ![soapy1](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/soapy1/32/5509_2.png) [@soapy1](https://discuss.hashicorp.com/u/soapy1)\
**Post date:** [March 15, 2021, 2:36pm UTC](https://discuss.hashicorp.com/t/multi-machine-start-first-machine-then-trigger-second-from-primary-machine/21978/2 "2021-03-15T14:36:39Z")

</div>

Hey there,  
I don’t think this is currently possible. There isn’t a way to have a relationship between machines and how they might be started. You might be tempted to run vagrant commands in a trigger. However, that will cause issues since only one Vagrant process can run at a time.
