A Vagrant plugin that automatically manages /etc/hosts entries for your development VMs.
Vagrant Hostsupdater is a Ruby gem plugin for Vagrant that automatically updates the host machine's `/etc/hosts` file. It maps hostnames to the IP addresses of Vagrant virtual machines, solving the problem of manually editing hosts files for local development environments.
Developers and DevOps engineers using Vagrant for local development who need seamless hostname resolution for their virtual machines without manual configuration.
It eliminates the tedious manual editing of hosts files, automates the process across Vagrant lifecycle commands, and supports advanced configurations like multiple network adapters and cloud providers.
Vagrant Hostsupdater is a plugin for Vagrant that automatically adds and removes entries in the host system's /etc/hosts file. It simplifies local development by mapping hostnames to the IP addresses of Vagrant virtual machines, eliminating the need for manual hosts file edits.
vagrant up, resume, and reload, and removes them on halt, destroy, and suspend.hostsupdater: "skip" flag.It aims to streamline the development workflow by automating a repetitive manual task, ensuring that hostname resolution works seamlessly across Vagrant environments.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically adds and removes entries on Vagrant commands like up, halt, and destroy, eliminating the need for manual edits to /etc/hosts as described in the README.
Supports multiple hostname aliases per IP and hash-based mapping for multiple private network adapters, allowing precise control over hostname resolution in complex setups.
Includes support for AWS and Google Cloud providers, detecting public IPs from instance tags or names, though it requires external CLI tools like AWS CLI.
Provides detailed instructions for suppressing sudo/UAC prompts on Linux, macOS, and Windows, reducing interruption during development workflows.
The maintainer explicitly declared it not maintained in March 2021, meaning no updates, bug fixes, or support for newer Vagrant versions or operating systems.
Requires manual editing of system files like /etc/sudoers.d on Linux/macOS or using cacls on Windows, which is error-prone and poses security risks if misconfigured.
For cloud features, it depends on AWS CLI or Google Cloud SDK, adding setup overhead and potential compatibility issues in automated environments.