Install Vagrant and Vagrant Plugins
vagrant-lxd and vagrant-windows-sysprep plugins. Enable command completion and optionally configure Red Hat registration.Categories:
To install Vagrant, follow these steps:
Install Vagrant: Download and install Vagrant 2.4.0:1
wget https://releases.hashicorp.com/vagrant/2.4.0/vagrant_2.4.0-1_amd64.deb sudo dpkg -i vagrant_2.4.0-1_amd64.deb sudo apt-mark hold vagrantInstall Plugins and Enable Autocomplete: Extend Vagrant with the
vagrant-lxdandvagrant-registrationplugins, and enable Vagrant command completion :vagrant plugin install vagrant-lxd vagrant plugin install vagrant-registration vagrant autocomplete install --bashVerify the installed plugins:
ls ~/.vagrant.d/gems/3.1.4/gems/Show me
Install the Vagrant Windows Sysprep Provisioner: Install a custom, idempotent version of the Vagrant Windows Sysprep Provisioner . This plugin uses Sysprep to prepare reusable Windows images:
wget https://c2platform.org/downloads/c2-iekeiTh7Fah5Orangooy/vagrant-windows-sysprep-0.0.11.gem vagrant plugin install vagrant-windows-sysprep-*.gemOptional: Automate Red Hat Linux VM Registration: If you use Red Hat Linux VMs, export the
RHEL_DEV_ACCOUNTandRHEL_DEV_SECRETvariables. See Streamlining RHEL Registration and Subscription Automation for details.
Vagrant 2.4.0 is pinned because the LXD plugin is incompatible with newer releases. ↩︎
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.