Questions tagged [vagrant-plugin]

Vagrant plugins are used to change how Vagrant does something or to add extended functionality to Vagrant.

Vagrant comes with many great features out of the box to get your environments up and running. Sometimes, however, you want to change the way Vagrant does something or add additional functionality to Vagrant. This can be done via Vagrant plugins.

Resources

Vagrant Plugins

101 questions
112
votes
12 answers

Vagrant was unable to mount VirtualBox shared folders

Current setup: Virtualbox 5.1.20 with Vagrant 1.9.3 Previous working setup: Virtualbox 5.1.18 with Vagrant 1.9.3 I installed the latest version of Virtualbox and tried to start my VM. The folder mounting has stopped working. The same folder mounting…
edwardmlyte
  • 15,937
  • 23
  • 58
  • 83
12
votes
2 answers

How can I define the run order of vagrant middleware plugins?

I'm creating a Red Hat Enterprise Linux 7 VM in VirtualBox with vagrant. If I have a base box that both doesn't have the VirtualBox guest additions, and isn't registered, then I'd manually need to do the following: Register the box with…
grdryn
  • 1,972
  • 4
  • 19
  • 28
10
votes
2 answers

Vagrant synced folder using NFS wrong permissions

Trying to use the NFS plugin with a synced folder in Vagrant, and it is working, except that in the guest (VM) the permissions are wrong: -rw-r--r-- 1 501 dialout 0 Jan 20 00:51 a -rw-r--r-- 1 501 dialout 0 Jan 20 00:51 foo I tried setting…
Justin
  • 42,716
  • 77
  • 201
  • 296
9
votes
1 answer

What exactly does Vagrant snapshot save?

I use Vagrant on VirtualBox. Yesterday, I saved a snapshot of my project by running: $ vagrant snapshot save 'my-project-date-time' Today, I've made some changes to files and folders in my project that I want to revert. When I run: $ vagrant…
qwaz
  • 1,285
  • 4
  • 23
  • 47
8
votes
1 answer

How can I programmatically query Vagrant for its provisioning status?

The Goal I am attempting to conditionally run the vagrant-berkshelf plugin. By default, enabling the plugin causes Berkshelf to resolve and vendor cookbooks on every single vagrant up (which is a relatively expensive operation) even if the current…
Todd A. Jacobs
  • 81,402
  • 15
  • 141
  • 199
6
votes
3 answers

Use Vagrant trigger to execute bash script on host

I use Vagrant to start my testing environment. Sadly I have to retrieve information (passwords) before spinning up my Vagrant box. So far I use Vagrant-Triggers to do this and have multiple run "do something" commands. IS [:up, :provision].each do…
lony
  • 6,733
  • 11
  • 60
  • 92
6
votes
1 answer

"/vagrant" shared folder does not exist

When I create a virtual machine through vagrant, and ssh into the machine the "/vagrant" folder does not exist. Currently Running the following Host OS: Ubuntu 16.04 Virtualbox: Version 5.0.18_Ubuntu r106667 Guest Additions: 5.0.18 Vagrant Version:…
wc250
  • 129
  • 3
  • 10
6
votes
0 answers

vagrant - The capability 'nfs_mount' could not be found

The capability 'nfs_mount' could not be found. This is an internal error that users should never see. Please report a bug. Cmd C:\var\www\cc-dev-env>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box…
Jamie Hutber
  • 26,790
  • 46
  • 179
  • 291
6
votes
1 answer

Vagrant: How can you run scripts on the host via commands in the guest shell?

It's possible to open ports, network files, and there are plug-ins that allow for running guest or host [shell] commands during Vagrant's Provisioning process. What I'd like to do is be able to (perhaps through a bash alias) run a command in the…
rcd
  • 1,348
  • 1
  • 14
  • 27
5
votes
2 answers

How to auto run vagrant fsnotify?

I am developing angular4 app using vagrant. I have installed vagrant-fsnotify plugin in order to notify file system changes to trigger hot build. The problem I have is how to run automatically vagrant fsnotify when vagrant booted?
gandra404
  • 5,727
  • 10
  • 52
  • 76
4
votes
2 answers

How to specify a provider during `vagrant up` command?

I have two machines (linux, Mac) and need to use vagrant to manage the vm. VirtualBox is used in the Liux while parallels is used in Mac. so I configured these two providers in the vagrant config file as below: Vagrant.configure('2') do |config| …
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
4
votes
0 answers

How to install vagrant plugin on Windows 7 without internet connection?

I'm trying to install vagrant-hostmanager plugin on Windows 7 without internet connection. I have downloaded gem file from rubygems.org and copied to this machine to D:\distr\Vagrant. Then I move to this folder and run in Command Prompt with Ruby…
Gulnara
  • 71
  • 6
3
votes
1 answer

Unable to add Raspbian image to Vagrant-libvirt Virtual machine

Am trying to create a virtual machine for Raspbian using Vagrant-libvirt plugin. However I failed find out how to add '2017-09-07-raspbian-stretch-lite.img' image. Am able to boot the image using qemu. qemu-system-arm -kernel…
Arky
  • 380
  • 1
  • 4
  • 15
3
votes
2 answers

Error While Installing Vagrant Plugins in Manjaro Deepin

I am using vagrant version 1.9.4 When trying to install any vagrant plugin one of the two outputs comes out I run This command: vagrant plugin install vagrant-hostmanager Then This comes out at a time: Installing the 'vagrant-managed-servers'…
ElGenius
  • 135
  • 1
  • 1
  • 11
3
votes
3 answers

How to run gui application on windows vm?

I have installed vagrant and virtual box on my Mac. I have created a Windows10 VM and it's configured with winrm. I am able to run commands on Windows VM through vagrant. However I am not able to see any GUI on the VM. For example, if I open…
1
2 3 4 5 6 7