Questions tagged [vagrant]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
37 views

How to set bridged networking in a VirtualBox virtual machine?

I created a virtual machine thru Oracle VirtualBox and Vagrant. Now I want to browse a website hosted in the virtual machine but I can't browse it thru the IP 10.0.2.15. I found the answer from this ...
0
votes
0answers
9 views

How can I enable opengl visibility in vagrant system for windows machine?

In order to work with docker windows container on my Mac, I was using windows docker machine, virtalbox as a provider and 2019-box as a vagrant box. Inside docker image that is based on ue4 docker, ...
0
votes
0answers
7 views

How to package a Vagrant Box from virt-manager/KVM

I have a VM foo created using virt-manager / KVM. I have vagrant 2.2.6 with the plugin vagrant-libvirt 0.0.45. I wish to package foo as a Vagrant box. The documentation for vagrant package states: ...
0
votes
0answers
7 views

Vagrantcloud packer upload error

I get the error virtualbox-iso: Running post-processor: vagrant-cloud ==> virtualbox-iso (vagrant-cloud): Verifying box is accessible: redacted/ubuntu2004 Build 'virtualbox-iso' errored: 1 ...
0
votes
0answers
5 views

How to configure Vagrant & VirtualBox with a separate IP address range than router?

How can I configure Vagrant so that Vagrant/VirtualBox/routers can reliably send LAN traffic to my guest machines using a static IP that does not match the router's network ID? For example, the ...
0
votes
0answers
29 views

Vagrant vs VirtualBox: How to share a ready-to-use system with users?

I want to give end users the option to start a Virtual Machine with some software preinstalled and configured, so that they can start working on a full Linux environment right away, using a full GUI. ...
0
votes
0answers
18 views

Vagrant virtualbox DISPLAY setting

I would like to do my development in a Linux VM with Windows 10 as host and sshing to the box. I am writing a program that uses the python package Tkinter and thus would need to be able to display the ...
1
vote
0answers
34 views

Virtual Box bridged network and port forwarding VAGRANT

Hey guys i'm having serious problme with to portforward my port 5060 i'm stuck on it since 1 week :( the probleme is i want to portforward the port 5060 on my bridge network not in nat so naturaly i ...
1
vote
0answers
57 views

How to check the disk size of a Vagrant Box?

Is there any way for me to check the disk size of a Vagrant Box, preferably before downloading/using it? Ideally, I'd want to go to the Vagrant Box search page and be able to see what the disk size ...
0
votes
0answers
13 views

Shortcut script for starting vagrant and docker?

I run the following commands individually always: vagrant up && vagrant ssh su - vagrant docker start myapp docker exec -it -u 123 myapp bash How do you create a shortcut script so that it ...
0
votes
0answers
41 views

How do I stop VMware / Vagrant from attempting to create NFS shares?

I am trying to use VMware instead of VirtualBox to run my VMs. Host:Windows10, Guest: CentOS7. I am using PuPHPet to create the required vagrant files, but whichever file system I choose, Default, NFS,...
1
vote
0answers
254 views

Insecure world writable dir /mnt/c in PATH, mode 040777 in vagrant

I am trying to issue vagrant up on windows linux subsystem and this error is appearing. /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/util/which.rb:37: warning: Insecure world ...
0
votes
0answers
52 views

Vagrant VirtualBox add additional disks and controller properly, i couldn't find this anywhere on the internet

I added this for the next person.. v.customize ["modifyvm", :id, "--memory", "1300"] v.name = ceph_node0 v.gui = true #controller in a separate loop unless File.exist?(controller_name) v.customize ["...
0
votes
1answer
168 views

Why my Vagrantfile is calling Hyper-V hypervisor even disabled at Windows?

I did an upgrade of Windows 10 Professional to the lastest build (brazilian portuguese): Microsoft Windows [versão 10.0.18363.592] After this when I ran my Vagrantfile even calling the config ...
0
votes
0answers
37 views

Error: Cask 'virtualbox@5.2.22' is unavailable: No Cask with this name exists

Below is my error for vagrant up: The provider 'virtualbox' that was requested to back the machine 'default' is reporting that it isn't usable on this system. The reason is shown below: ...
0
votes
0answers
40 views

Proper way to move a pool with virsh to another partition?

The root partition is running out of space so i'd like to move the machines to another directory. They are currently on /var/lib/libvirt/images/, the pool is called images. The VMs are spun up with ...
1
vote
0answers
104 views

Error while running vagrant up command

Running vagrant up isn't working anymore. I have read the post Vagrant up command not working which instructs removing Virtual Box and installing the newest version. However, I can't uninstall VB ...
0
votes
0answers
28 views

Any way to cache downloads so repeated downloads will instead download from cache?

I use vagrant to create Linux server provision scripts. I often have to run the same apt-get commands in the provision script. Some packages I have to download and install are large and take a while ...
0
votes
0answers
13 views

Vagrant, docker provisioner, permissions on Debian

I'm having a strange problem with how Vagrant, its Docker provisioner, and Docker are interacting, and I'm not sure how to proceed. (I'm way better with Vagrant than Docker, but as far as I can tell ...
0
votes
0answers
15 views

Vagrant ssh ask for password when on another hard drive

When I initialized my Vagrant file on my main hard drive (C:), if I try to vagrant ssh, it automatically logs me into the vagrant machine. However, when I moved it into another hard drive (let's say G:...
1
vote
1answer
112 views

How could I connect ansible by ssh into 2 Vagrant machines (Virtualbox Hypervisor)?

I would like to connect by ssh one machine with another to do ansible commands. I have a CentOS7 and want to connect inside the OS to Ubuntu16 VM. Look at my Vagrantfile and what I tried: Vagrant....
0
votes
0answers
39 views

Vagrant/Virtual Box issue with vbguest installation

I am struggling to install vbguest on my vagrant setup. The vbguest addition installs but it has some issues after installation and folders wont sync up. I know for a fact that it is a VBGuest ...
0
votes
0answers
7 views

Connect MySQL between Vagrant boxes in Multi Machine setup

I set up two boxes using a vagrant file like this : Vagrant.configure("2") do |config| config.vm.define :alpha do |alpha| alpha.vm.box = "scotch/box" alpha.vm.network "...
0
votes
0answers
101 views

Virtual Machine running centos showing 1 cpus instead of 2

I’m trying to create a virtual machines using a Vagrantfile. But after the creation of the VirtualBox VM, it shows only one core. I've tried what other Stack Overflow code snippetes solved this ...
0
votes
0answers
19 views

How to create a VirtualBox VM with fixed storage through vagrant?

By default, Vagrant will build a VM with a dynamically allocating storage. However, I require fixed storage, can this be done during VM creation as opposed to after the VM has already been created (...
0
votes
0answers
65 views

Metasplotable3 error: Windows could not apply the unattend answer file's <DiskConfiguration> setting

I am trying to install Metasploitable 3 but I encountered the error when the virtual machine is booting: Windows could not apply the unattend answer file's <DiskConfiguration> setting I think ...
0
votes
0answers
27 views

unable to ping 10.0.2.15 on host

I am beginner of ubuntu, and i have installed ubuntu 16.04 on my desktop computer, then installed Vagrant by following steps sudo apt-get install virtualbox sudo apt-get install vagrant vagrant box ...
0
votes
0answers
21 views

Kubernetes VM Cluster in one machine and VM worker on another physical machine, how the worker join the master

My setup is composed of two physical workstations part of the corporate network of my company. I have deployed a Kubernetes Cluster composed of 3 VM (master, worker1, worker2) via vagrant on a ...
0
votes
0answers
10 views

Vagrant stop auth by private keys in ssh

Is there a way to make Vagrant stop trying to authenticate by using private keys right after I issue a vagrant up?
1
vote
0answers
387 views

DNS/DHCP server in multi-machine private-network Vagrant setup

Question Is it possible to configure vagrant, using a multi-machine Vagrantfile, to have one of the VMs act as the DNS server and DHCP server (i.e. using dnsmasq) for a private network used by all ...
1
vote
0answers
51 views

Unable to ping vagrant from local

Here is my vagrantfile PROJECT_NAME = "petalandstem" BACKEND_DIR = "/home/vagrant/#{PROJECT_NAME}/src/backend" FRONTEND_DIR = "/home/vagrant/#{PROJECT_NAME}/src/frontend" Vagrant.require_version "&...
0
votes
1answer
430 views

Create a vm with multiple disks via loop in Vagrantfile

I am trying to create a vm with vagrant with multiple disks, but I want the vagrantfile to use a loop to create them. Vagrant does not handle loops correctly as it seems to double or triple traverse ...
0
votes
0answers
21 views

ping on vagrant machine is not working

I am trying to ping on "192.168.0.23". But somehow it is not working. This is my vagrant file: PROJECT_NAME = "petalandstem" BACKEND_DIR = "/home/vagrant/#{PROJECT_NAME}/src/backend" FRONTEND_DIR = "...
1
vote
0answers
60 views

Enable the second screen after increasing the monitor count in Vagrant with VirtualBox

I can see how to enable multiple displays with vagrant in this answer: https://superuser.com/a/207291/662918, but it seems after doing that I still need to go to View > Virtual Screen 2 > Enable ...
0
votes
1answer
200 views

Why my Vagrantfile settings can reach the internet and not the same LAN outside Virtualbox VM?

I can reach the internet and another Virtualbox Vagrant machine (they ping each other) but I can't reach the same range IP of my LAN and the gateway. I tried many settings with private network and ...
0
votes
3answers
958 views

'Vagrant up doesn't work as expected, Code E_INVALIDARG (0x80070057)

PS C:\desktop\laravel-les1> vagrant up Bringing machine 'laravel-les1' up with 'virtualbox' provider... ==> laravel-les1: Importing base box 'laravel/homestead'... There was an error while ...
-1
votes
2answers
117 views

Performing a vagrant up inside a Onedrive folder project, why happens this output error message bellow?

My Vagrantfile: Vagrant.configure("2") do |config| config.vm.define "vm1" do |vm1| vm1.vm.box = "debian/buster64" vm1.vm.box.hostname = "debian-vm" vm1.vm.network "...
0
votes
1answer
26 views

Make vagrant box accessible from other computers on home network

I have a Vagrant box (using Virtual Box) running locally on my laptop. My laptop (the host) is running Mac OS 10.11.6; the guest is running Ubuntu 16.04. Currently, the guest is accessible from the ...
0
votes
1answer
308 views

Vagrant SSH's fine but Ansible is unable to ping (it's unable to SSH)

Here is my Vagrantfile. $ cat Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # All Vagrant configuration is done below. The "2" in Vagrant.configure # configures the configuration version (we ...
0
votes
0answers
220 views

Vagrant boxes by hostname results in 'temporary failure in name resolution'

Creating a dev/testing environment with vagrant. If I try to connect between the servers by the hostnames assigned in the Vagrantfile I get an error: "Temporary failure in name resolution." Including ...
0
votes
1answer
398 views

ssh to a new 'vagrant up' doesn't work until after the first time I run vagrant ssh

When I just start up a new vagrant evn. I can't ssh directly into the boxes until I do a vagrant ssh. Then I can ssh directly with out a problem. In the auth logs I see the following errors Sep 5 ...
1
vote
0answers
121 views

Does anyone know if/how you can run PowerShell on Vagrant Win10 VM with a macOS host?

I'm currently running Mojave 10.14.6 on the host machine, Vagrant 2.2.5, and Virtual box 6.0.10. I'm running a Win10 Enterprise box and am trying to access Powershell. I tried the vagrant powershell ...
0
votes
1answer
34 views

Vagrant ERROR: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

I was trying to get my own Virtual Machine running while reading the documentation about getting started with Vagrant and I set my first virtual machine. I am using Vagrant with VirtualBox, but after ...
0
votes
0answers
43 views

Vagrant/Virtualbox hangs on boot of one (of many) centos7 boxes

I have a hairy problem. I have a vagrant environment that include five centos7 boxes. When I try to bring them up one or two of them crash in the boot. System Host: Fedora 29 VirtualBox: 6.0.10 ...
0
votes
1answer
58 views

How to run multiple networked applications concurrently on DOS?

For science, I am working on a Vagrant box for DOS. The virtual machine needs to support a remote command execution service, such as sshd or telnetd, so that administrators can run COMMAND.COM scripts ...
0
votes
0answers
20 views

Can't get ifconfig from vagrant servers with Ansible

while reading a site: https://code.tutsplus.com/tutorials/automate-all-the-things-with-ansible-part-one--cms-25931 i tried to get IP addresses of created vagrant servers with Ansible, but got error. ...
0
votes
0answers
19 views

Firing Vagrant trigger after ansible-local has finished

I have been looking at a way to trigger a shell script on the host when running vagrant provision. I've looked at the documentation and initially thought that running after :provision was the ...
0
votes
1answer
25 views

Oracle VirtualBox Manager settings change after doing “vagrant up”

I changed memory and processor settings in Oracle VirtualBox Manager but when I do vagrant up to activate my environment, the settings change back to default. I made sure to power off the virtual box ...
0
votes
1answer
87 views

VirtualBox multiple HostOnly NIC no internet

I used Vagrantfile to create CentOS 7 VM: config.vm.define "endpoint" do |machine| machine.vm.box = "centos/7" # for all available boxes go to https://app.vagrantup.com/boxes/search # machine....
0
votes
0answers
41 views

vagrant not able to lookup path for vitual box from mobaxterm

Output of error I have vagrant and virtual box installed and paths for both are present in environment variable. I am also able to do vagrant ssh from windows command prompt. But when i try to do the ...

1
2 3 4 5
10