A Vagrant provisioner plugin that executes shell commands on the host machine during VM provisioning.
vagrant-host-shell is a Vagrant plugin that acts as a provisioner to execute shell commands on the host machine during VM provisioning. It solves the problem of automating host-side tasks—like creating files, running scripts, or setting up environments—when a Vagrant virtual machine boots or is reprovisioned.
Developers and DevOps engineers using Vagrant for local development or testing who need to automate host machine setup or tasks in sync with their VM lifecycle.
It fills a specific gap in Vagrant's provisioning system by allowing host command execution, offering a simple, lightweight alternative to complex workarounds or external scripts.
simple vagrant provisioner that executes commands on the host
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables running shell commands on the host during VM boot, automating tasks like file creation or environment setup directly from Vagrant workflows, as highlighted in the README example.
Easily added to Vagrantfiles with a straightforward configuration block using the inline parameter, making it accessible without complex setup.
Triggers commands during `vagrant up` or `vagrant provision`, ensuring host tasks are tied to the VM lifecycle without relying on external scripts.
Captures and displays stdout and stderr in Vagrant's output, providing clear feedback for debugging, as shown in the README with labeled output examples.
Focused only on shell command execution; lacks advanced features like conditional triggers, dependency management, or integration with other provisioning tools, which the minimal design admits.
Running arbitrary commands on the host from a VM provisioner can introduce vulnerabilities if inputs are not properly sanitized, a trade-off in its automation approach.
Tied to Vagrant's ecosystem, making it unsuitable for projects not using Vagrant or moving to alternative virtualization solutions, limiting its portability.