


Rm /etc/apt//puppetlabs.listĪpt-get purge -y puppet facter hiera puppet-common puppetlabs-release ruby-rgen Do whatever setup is appropriate for example, to remove puppet, which is packaged in the above box: The provision.sh file should be a shell script beside the Vagrantfile. (Discuss in Talk:Vagrant) VAGRANTFILE_API_VERSION = "2" Link to a transparent repository or instructions how to build a custom image should be added. The plugin can now be used with a Vagrantfile like so: Next, configure lxc as directed in the official repository. Once the plugin is installed the libvirt provider will be available:įirst install lxc from the official repositories, then: To install the plugin, make sure base-devel is installed and rvice has been started. QEMU) must be installed and configured before using the provider. This plugin adds a libvirt provider to Vagrant. $ vagrant plugin install vagrant-vbguest vagrant-share You can specify multiple plugins to install: Plugins can be installed with Vagrant's built-in plugin manager. Vagrant has a middleware architecture providing support for powerful plugins. See the full list of options in the official documentation.įor example, to change the location where vagrant stores it's "potentially large" files, set VAGRANT_HOME to a suitable directory. Vagrant is configured with environment variables. A single Vagrantfile can define multiple machines. Vagrant uses a mostly declarative Vagrantfile to define virtualised machines. The most popular and well-supported provider is Virtualbox plugins exist for libvirt, lxc, vmware and more. Vagrant has a concept of 'providers', which map to the virtualisation engine and its API. Vagrant is a tool for managing and configuring virtualised development environments.
