Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vagrant]

Vagrant is a tool for building and distributing virtualized development environments.

0
votes
0answers
28 views

Cannot start VirtualBox on Windows 10 - (Failed to acquire the VirtualBox COM object)

Greetings to the community, I recently tried to open my VirtualBox (windows 10 host OS) after approximately 3-4 months (when everything was perfect). Unfortunately, now the VirtualBox is unable to get ...
0
votes
0answers
20 views

How to add another hard drive to vagrant windows hyper-v box

I am running a windows virtual machine using Vagrant, with hyper-v as provider: Vagrant.configure("2") do |config| config.vm.box = "mwrock/Windows2016" end I would like to add D (D:) drive on ...
0
votes
0answers
16 views

Vagrant box accessible from local network but not external port forwarding

I've got a Windows 10 machine with a Vagrant box with a bridged network running docker. On that docker machine I've got a couple of services, which are well accessible from the local network, but as ...
0
votes
0answers
13 views

Vagrant issue - able to communicate between private networks

I've run into an issue while using Vagrant. I have to boxes and I've configured them to be part of different virtualbox internal networks (relevant config below): Dataplane port vsrx1.vm.network '...
0
votes
0answers
18 views

vagrant up is not working

I am trying to run vagrant up command , i am getting below error. Vagrant Host Machine: CentOS7 Vagrant Guest Machine: CentOS7 The vagrant file as below Vagrant.configure("2") do |config| config....
2
votes
2answers
125 views

Are Vagrant virtual machines (Virtualbox) safe from accidental shutdown/reboots?

Say your host machine got shutdown abruptly or somebody pressed the reboot button and your Vagrant VM is in a running state (e.g., not on halt or suspend state). Will they survive when the host ...
0
votes
1answer
31 views

Nothing happens after yum install php72 php72-php-cli

I ran the following commands twice to ensure it's installed: yum install php72 php72-cli returns Package php72-1.0-1.el7.remi.x86_64 already installed and latest version now running php -v ...
0
votes
0answers
26 views

Vagrant / Virtualbox, can't sync folders, then can't SSH

Host machine is Windows 7. VM box is: centos/7 Provider is Virtualbox After several hours of getting it to "work". I now realized synced folders is not working. After research, they said I need to ...
0
votes
0answers
9 views

Vagrant synced folder with MySQL ownership issues

I'm using Debian 9 as the host, contrib-stretch64 as a box and vagrant 2.2.0. I'm trying to install MySQL 5.7 and in order to have a persistent storage I had made a sync folder. But during install I'm ...
0
votes
0answers
32 views

Use mosh with a remote Vagrant box without a public network

At work, I have a powerful machine running Debian Linux, but, unfortunately, I don't have admin rights on this machine so it's painful to update or install packages, among other things. Nonetheless, I ...
2
votes
1answer
17 views

NS Record is missing, but A record is not

I'm developing a website and i'm using the PHP function dns_get_record to get some data from the DNS server. To proper show the problem I will show an example of getting the NS record from a domain ...
0
votes
0answers
24 views

Npm serve from vagrant machineand windows host

I am trying to serve from a vagrant machine which is bridged an I would like to access the webpage from every device connected to that public network (experimental purposes). I access the machine with ...
0
votes
0answers
24 views

is it necessary to destroy a Vagrant box after updating it?

Posts read: Vagrant box update vs apt-get upgrade https://stackoverflow.com/questions/25914383/update-a-vagrant-box According to these posts I need destroy my box with guest ArchLinux to take ...
1
vote
1answer
26 views

using project folders in vagrant

I have recently installed vagrant and red hat in windows 8 environment. I want to use my projects in windows drive in redhat running on vagrant machines. Is there a mechanism to copy paste or access ...
0
votes
0answers
17 views

Rsync mkstemp failed: Resource Unavailable

I'm developing a laravel project on my Windows 8.1 64 machine with the latest Vagrant VituralBox Homestead box installed. I have the following in my yaml file authorize: ~/.ssh/id_rsa.pub keys: -...
0
votes
1answer
33 views

Tracepath not working in Centos 7 with Vagrant

I'm attempting to use tracepath to get the traceroute for a bunch of URL's, but it's not working correctly. For every URL I try It just returns the same result e.g [vagrant@centos7 ~]$ tracepath ...
0
votes
0answers
8 views

Database restore - SQL Server on Linux - Vagrant Virtualbox - Linux host

SQL Server on Linux seems to have trouble reading from the default shared /vagrant folder. Some folder info (ls -l): Root folder: drwxr-xr-x 1 vagrant vagrant 4096 Sep 24 09:32 vagrant Backup ...
1
vote
2answers
132 views

HyperV - Static Ip with Vagrant

I'm using Laravel Homestead with Vagrant, and I thought I'd would make sense to use Hyper-V instead of Virtual Box, as it's integrated with Windows. Here is my problem. Every now and then my Hyper-v ...
0
votes
0answers
49 views

How can I relocate or disable the VirtualBox logfile when starting a vm from Vagrant?

When I run vagrant up using VirtualBox as a provider, it creates a logfile called ubuntu-xenial-16.04-cloudimg-console.log in the project root. This causes difficulty with PHPStorm, as it doesn't have ...
0
votes
0answers
34 views

vagrant on win7 host, no shared folder for win10 VM

I have a win7 host (don't ask..) and a vagrant 2.1.2/virtualBox 5.2.16 VM which is running win10. It comes up and runs well enough for my testing purposes, but I can't manage to get a shared folder. ...
1
vote
0answers
211 views

How do I resize a virtual disk AND map that in a vagrant environment?

I don't know if I worded my question correctly, but I'll do my best to explain my problem here. I've been working on resizing a virtual disk for a server my company uses. It recently filled to the ...
0
votes
0answers
22 views

How to securely pass personal credentials to ansible_local?

My Vagrantfile contains this: config.vm.provision "ansible_local" do |ansible| ansible.playbook = "setup.yml" ansible.vault_password_file = "vault_pass" end The vault is secured with a team-wide ...
0
votes
0answers
76 views

Vagrant install

I have some problems with the vagrant installation in elementary OS. I run these commands: sudo apt-get install vagrant sudo apt-get install virtualbox sudo apt-get install virtualbox-dkms sudo apt-...
0
votes
1answer
39 views

Can't show manual pages for `ls` in Vagrant

That's my first question in here and I'm still a beginner so please bear with me. I'm having a Linux Command Line Basics course on Udacity. I got to the point where I'm asked to open a manual page for ...
0
votes
1answer
73 views

Clone vagrant virtual machine to another Windows user

I have successfully install and run virtual machine centos/7 on vagrant with virtualbox. I have download much file and configured a lot thing inside that virtual machine. I just need to clone that ...
0
votes
1answer
211 views

How to install Chromium masked package on Alpine Linux 3.8?

I am using Vagrant with VirtualBox, and running Alpine 3.8 inside: $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'generic/alpine38'... ==&...
0
votes
0answers
24 views

Why vagrant is trying to use windows host as ansible control machine for ubuntu VM?

I am using vagrant on windows machine. I am trying to use Ansible as provisioner for my ubuntu box. I was able to create Ubuntu VM and install ansible in ubuntu box using shell provisioner. But, I am ...
0
votes
1answer
5 views

I mistyped a command during vagrant ssh on homestead how I can nuke everything and start over?

When I need to run some commands eg composer I did a mistake and removed some packages such as the mysql and nginx via apt-get. When I reinstalled them have been misconfigured therefore my app does ...
0
votes
0answers
81 views

Vagrant box Debian/Stretch64 is not syncing in real time

I have been trying to use the debian/stretch64 box from Vagrant but its real-time sync does not work. Here is the code of my Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : HOSTNAME = "...
1
vote
1answer
168 views

How do I reboot a Vagrant guest from a provisioner?

Relative newcomer to Vagrant here, trying to eliminate going through the install process manually every time I want to spin up a new Ubuntu VM. My usual process, after completing the install, is to ...
0
votes
0answers
39 views

Vagrant + VirtualBox + Ruby application CPU >100%

Problem: CPU usage hits over 100% after doing anything with bundle exec ... in the virtualbox guest. In ActivityMonitor it's hitting 145% in the Virtual environment it's more like 60-70% but still ...
0
votes
0answers
21 views

How can I get UPNP with Vagrant

I have an application that tries to open a port via UPNP. I managed to get it to work on one of my virtualbox vms with bridged network, but I can't get it to work with vagrant (config.vm.network "...
0
votes
0answers
248 views

How to setup vagrant-sshfs for work properly in Win10 with Hyper-V?

I am trying to setup Vagrant and Hyper-V and it is almost done but folder sharing is failing because I refuse to use SMB and instead I want to use vagrant-sshfs. It is know that in Windows system ...
0
votes
0answers
424 views

Vagrant: SSL verification error behind corporate proxy

My company uses a proxy. I am using a Windows 10 notebook, 64 bit. Vagrant version 2.1.1. When trying to install a Vagrant plugin, e.g. vagrant plugin install vagrant-proxyconf I see the following ...
0
votes
0answers
95 views

How to fix deleted .vagrant directory?

I accidentally deleted the .vagrant directory for one of my VMs. Now, when I attempt to use vagrant ssh, it fails with: ==> vm-name: VM not created. Moving on... The VM is created (I can see the ...
0
votes
1answer
20 views

How to execute something in terminal with URI Scheme? (vagrant:// …)

How can I run something through my own terminal that starts with a URI Scheme? For example, when running IntelliJ's Phpstorm with Vagrant, executing code tests from Phpstorm outputs something like: ...
0
votes
2answers
186 views

H00035: access to “file.php” denied, how to properly setup SELinux?

I have been struggling for the last days with this issue and so far I am not able to find any solution. The issue in a few words is (error message): H00035: access to index.php denied because ...
1
vote
1answer
120 views

Win10 - can't reach ubuntu VM after last big windows update (again :-/ )

Once again after major windows update my virtualbox networking went down the drain... My VMs are starting and I can connect to them via vagrant port forwarding. But I cannot reach them from windows ...
0
votes
0answers
52 views

Run pre-commit in PHPStorm environment

Is there any way that I can run my pre-commit hook in the environment set up in PHPStorm? I can't install plugins, as this is a pre-commit script that needs to run accross any clone of this repository....
0
votes
1answer
57 views

Why does Vagrant status show destroyed VMs?

I have a directory that contains a Vagrantfile file that created three virtual machines, app1, app2, and db for me. I'm now done with them so I ran the vagrant destroy [vm] against each of them. If ...
0
votes
1answer
57 views

All vagrant commands fail with “Bundler, the underlying system used to manage Vagrant plugins”

Whenever I run any vagrant command, it fails, with the following error message, regardless of whether or not I'm in a vagrant folder, or any other folder. What's the problem? $ vagrant box list ...
0
votes
1answer
368 views

How to install vagrant plugin locally

I want to make vagrant work with corporate proxy, that why I believe I need to install vagrant-proxyconf vagrant plugin install vagrant-proxyconf which failed with Vagrant failed to load a ...
0
votes
0answers
30 views

Communitaction between lxc contaners running on separate virtualboxes(vagrant)

I have 2 virtualboxes machines (spawned by Vagrant). On each of those machines there are 2 lxc containers. I have communications between virtualbox machines, and I also got communication between lxc ...
0
votes
0answers
32 views

Can't start vagrant machine - first time user

Windows 10 PHP 7.1.8 Following instructions here. When I run: vagrant up I get: Bringing machine 'homestead-7' up with 'virtualbox' provider... ==> homestead-7: Checking if box 'laravel/...
1
vote
1answer
222 views

SSH between multiple Vagrant VMs

I am trying to install a local 3 node cluster of HP Vertica. The Vertica install uses SSH to install the DB Server software onto each node when triggered from any one of the nodes. I get an error ...
0
votes
0answers
27 views

Laravel installation snag

I'm installing Laravel on Debian Stretch and hit a snag at the "The Hosts File" section. I am using Vagrant with VirtualBox. I cannot communicate with the Laravel stack running on VirtualBox (192....
0
votes
0answers
22 views

Why would the use of a Vagrant image require the installation of a Vagrant “base box”?

I just started using Vagrant and am trying to make sense of using the Gauntlt Starter Kit. Gauntlt, located here, is a web security testing framework (the Gauntlt Starter Kit can be found here). The ...
1
vote
1answer
708 views

Why can't I log into my dropbear VirtualBox with ssh? “ssh_exchange_identification: read: Connection reset by peer” or “Permission denied”

I have a router set up in VirtualBox. I can access it from the console, but it doesn't have a scroll buffer and I can't select with the mouse. I'm trying to ssh into it as root. It uses dropbear. ...
0
votes
0answers
43 views

Would a VM doing all the work in a shared folder be good practice?

I am using a VM for running some programs (more specifically, for data pre-processing and machine-learning based prediction on the results). Users of the machine will place their inputs and receive ...
0
votes
0answers
75 views

Vagrant Hyper-V fails to launch with “Cannot change the processor settings of a virtual machine now.”

In Windows command prompt I run vagrant up debian --provider hyperv And it fails with a cryptic error An error occurred while executing a PowerShell script. This error is shown below. Please read ...