Search code examples
deploymentvagrantproduction-environmentcollaboration

How to prevent "vagrant halt" for production machine?


On my team, we're using vagrant for both development (dev) and production (web).

It works great, but sometimes, my team will accidentally run vagrant halt to halt their dev server, but this also brings down the production (web) server. Yikes!

Is there anyway for me to prevent them from halting the production server? Like disabling the command or password protecting?


Solution

  • vagrant-managed-servers plugin might help when using Vagrant with production servers.