r/vagrant • u/antdude • Mar 20 '15
r/vagrant • u/in_the_bilboes • Jul 27 '16
Is there a way to set a root password for Debian guest?
Maybe I'm approaching this wrong...
I need to edit some files and see logs that require root privileges, but I don't have a root password.
I'd rather not add vagrant user to admin group.
[edit] I've tried
echo "root:newpass" | chpasswdand:
echo "newpass\nnewpass | passwd rootin my vagrantfile.
And both output
*==> default: stdin: is not a tty*r/vagrant • u/WebYourMindtuts • Feb 24 '16
Vagrant and Puppet - How to automate provisioning and configuration on your guest machine
r/vagrant • u/virtualvagrant • Feb 23 '17
Can someone explain how the file paths work in vagrant?
vagrant@precise64:~$ cd ../
vagrant@precise64:/home$ cd ../
vagrant@precise64:/$ lsYou'd expect to go down a folder when you do cd ../, but vagrant doesn't do that and seem to change folder instead, so I am assuming this is due because of the virtual folder and the actual linux folder being conflicting in some ways, but I still doesn't understand why the dev team made a convoluted and confusing file path system.
r/vagrant • u/tangara888 • Jun 20 '21
what is vagrant up etc ?
Hi,
I am studying this course - SUSSE and cloud so we are learning all the basics on Vagrant etc.
However, I do not understand a few things :
For example, in vagrant file : why is this ip address about ?
# st the static IP for the vagrant box
config.vm.network "private_network", ip: "192.168.50.4"I googled and then I also found out that we can do it
config.vm.network :forwarded_port, guest: 80, host: 8931, auto_correct: truewhere can I get more information on the config.vm.network api details ?
And then there is this vagrant up that vexed me :
Why when I typed the command vagrant up, it will automatically read the lines in my vagrant files and download whatever images stated in there... what makes it trigger the vagrant file script ?
r/vagrant • u/mrlesmithjr • Sep 17 '15
Hey, I can DevOPS my Network too! - Intro
r/vagrant • u/MayonaiseRemover • Nov 30 '19
NorCal City Asks Permission to Essentially Incarcerate Homeless Population
r/vagrant • u/apennebaker42six • Feb 21 '14
Where can I buy Vagrant boxes with commercial software like Mathematica or MATLAB preinstalled?
Ubuntu preferred, any *nix acceptable.
r/vagrant • u/vitachaos • Dec 26 '21
public network not getting created
Odd I have spin up other VM's using similar VagrantFile and I had no issues creating public network but this vagrantfile, when I try to bring it up , everything works fine except the public network is not getting created so I am not able to access teh sarm-master node from ouisde.
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
PUBLIC_NET_BRIDGE = 'Realtek PCIe GbE Family Controller #5'
SWAMR_MASTER_PUBLIC_IP = "192.168.1.112"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# config.vm.synced_folder ".", "/vagrant"
config.vm.synced_folder ".", "/vagrant", mount_options: ["dmode=700,fmode=600"]
config.vm.box = "ubuntu/focal64"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end
config.vm.define "swarm-master" do |s|
s.vm.provision :shell, path: "bootstrap_ansible.sh"
s.vm.hostname = "swarm-master"
s.vm.network :private_network, ip: "10.100.192.200"
s.vm.network "public_network", ip: SWAMR_MASTER_PUBLIC_IP, bridge: PUBLIC_NET_BRIDGE
s.vm.provider "swarm-master" do |sm|
sm.cpus = 2
sm.customize["modifyvm", :id, "--natdnshostresolver1"]
sm.customize["modifyvm", :id, "--name", "swarm-master"]
end
s.vm.provision "shell", inline: <<-SHELL
ansible-playbook /vagrant/provision.yml
SHELL
end
(1..2).each do |i|
config.vm.define "swarm-node-#{i}" do |w|
w.vm.hostname = "swarm-node-#{i}"
w.vm.provider "swarm-node-#{i}" do |wn|
wn.cpus = 2
wn.vm.network "private_network", ip: "10.100.192.20#{i}"
wn.customize["modifyvm", :id, "--name", "swarm-node-#{i}"]
end
end
end
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box
end
endThis has driven me nuts because I have got everything working even containers are up and running which I started using ansible using SHELL from Vagrant. Any help with be greatly appreciated.
r/vagrant • u/vitachaos • Dec 30 '21
Does public network created in virtualbox by Vagrant needs to some how port forwarded ?
I am working on a homelab setup. I have virtualbox running on windows 10 professional.
I cannot ping port 53 from a different vm of a DNS service running in different VM in virtualbox. both VM started by vagrant.
dnsmasq vm:
# nmap -sS -O -p53 192.168.1.152
Starting Nmap 7.01 ( https://nmap.org ) at 2021-12-30 16:54 UTC
Nmap scan report for 192.168.1.152
Host is up (0.0018s latency).
PORT STATE SERVICE
53/tcp closed domain
MAC Address: 08:00:27:9F:27:EE (Oracle VirtualBox virtual NIC)
Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
Device type: general purpose
Running: Linux 2.4.X|2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.4.20 cpe:/o:linux:linux_kernel:2.6
OS details: Linux 2.4.20, Linux 2.6.14 - 2.6.34, Linux 2.6.17 (Mandriva), Linux 2.6.23, Linux 2.6.24
Network Distance: 1 hop
OS detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 3.43 seconds
root@dnsmasq:/home/vagrant#inspecting the VM (192.168.1.152 )with DNS service at port 53;
vagrant@swarm-master:~$ sudo su
root@swarm-master:/home/vagrant# netstat -ltnpu | grep 53
udp 0 0 0.0.0.0:53 0.0.0.0:* 9158/docker-proxy
udp6 0 0 :::53 :::* 9179/docker-proxyI am very surprised and shocked ! or is it something to do with docker ?
this his how I have published ports , I can access port 8085 but not port 53 , also I can ping the ip 192.168.1.152
ports:
- target: 53
published: 53
mode: host
protocol: udp
- target: 80
published: 8085
mode: host
volumes:r/vagrant • u/monark789 • Oct 08 '15
So I got a .box file, now what I do ?
Some background,I am not the power user of vagrant, I spin up machines with 3 simple vagrant commands and that's it. Today I downloaded Window 10 VM from Microsoft site(https://dev.modern.ie/tools/vms/windows/) by selecting vagrant as a platform. I was expecting a vagrant file but after download turns out it was 5 GB .box file. So I don't know what to do with this now, any hints !!
r/vagrant • u/TheFundamentalFlaw • Nov 12 '16
How to persist changes in the box?
Hi guys, newbie question here. I downloaded a box (laravel/homestead-7) to get my hands in Laravel Php Framework. It comes with Nginx. I prefer Apache2 that I work with it for years, so I removed Nginx and installed Apache2, port forwarded and it was running nice. But everytime I start the box, it is the same and the changes I made do not persist. Reading the docs, I see a part talking about "provisioning". Is that the way it works? Everytime I start the box does it have to uninstall nginx and install apache2?
r/vagrant • u/nakiscia • Mar 02 '20
Using Vagrant on Operating System instead of using Virtual Machines
Hi guys,
I am new to Vagrant. As far as I understand Vagrant creates a virtual machine and enables us to automatically install tools in order to create a development environment. I am wondering that is there any possibility to use Vagrant on the local machine instead of virtual machines. For example, let say I have an application that works with NodeJS, and as an IDE I use VS Code and works with many other framework and application. Is there any way to use Vagrant to install these tools automatically locally(not inside VM). In other words, if I changed my computer and want to install these tools, can I use Vagrant to easily do that.
Thanks in advance...
r/vagrant • u/porcaridatchguy • Jul 27 '16
Vagrant error
Hey, lost on this error, been hacking away at it but have come up short. Does anyone know of a work around?
I have reinstalled both virtual box and vagrant and running the latest.
Heres the error
ā ~/w/d/ew-blog master ā vagrant up sh: 1: netsh: not found sh: 1: cscript: not found It seems that you don't have the privileges to change the firewall rules. NFS will not work without that firewall changes. Execute the following commands via cmd as administrator: netsh advfirewall firewall add rule name="VagrantWinNFSd-1.2.1" dir="in" action=allow protocol=any program="\home\nick.vagrant.d\gems\gems\vagrant-winnfsd-1.2.1\bin\winnfsd.exe" profile=any netsh advfirewall firewall add rule name="VagrantWinNFSd-1.2.1" dir="out" action=allow protocol=any program="\home\nick.vagrant.d\gems\gems\vagrant-winnfsd-1.2.1\bin\winnfsd.exe" profile=any If you are an Windows XP user run the following command instead: netsh firewall add allowedprogram "\home\nick.vagrant.d\gems\gems\vagrant-winnfsd-1.2.1\bin\winnfsd.exe" VagrantWinNFSd-1.2.1 ENABLE Bringing machine 'local' up with 'virtualbox' provider... ==> local: Importing base box 'puphpet/ubuntu1404-x64'... ==> local: Matching MAC address for NAT networking... ==> local: Checking if box 'puphpet/ubuntu1404-x64' is up to date... ==> local: Setting the name of the VM: ew-blog_local_1469624542672_61458 ==> local: Clearing any previously set network interfaces... ==> local: Preparing network interfaces based on configuration... local: Adapter 1: nat local: Adapter 2: hostonly ==> local: Forwarding ports... local: 22 (guest) => 9059 (host) (adapter 1) local: 80 (guest) => 8080 (host) (adapter 1) local: 22 (guest) => 2222 (host) (adapter 1) ==> local: Running 'pre-boot' VM customizations... ==> local: Booting VM... ==> local: Waiting for machine to boot. This may take a few minutes... local: SSH address: 127.0.0.1:2222 local: SSH username: vagrant local: SSH auth method: private key ==> local: Machine booted and ready! ==> local: Checking for guest additions in VM... local: The guest additions on this VM do not match the installed version of local: VirtualBox! In most cases this is fine, but in rare cases it can local: prevent things such as shared folders from working properly. If you see local: shared folder errors, please make sure the guest additions within the local: virtual machine match the version of VirtualBox you have installed on local: your host and reload your VM. local: local: Guest Additions Version: 5.0.10 local: VirtualBox Version: 5.1 ==> local: Setting hostname... ==> local: Configuring and enabling network interfaces... ==> local: Exporting NFS shared folders... ==> local: Forcing shutdown of VM... ==> local: Destroying VM and associated drives... /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/hosts/linux/cap/nfs.rb:23:in nfs_export': wrong number of arguments (4 for 5) (ArgumentError) from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/capability_host.rb:111:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/capability_host.rb:111:in capability' from /home/nick/.vagrant.d/gems/gems/vagrant-winnfsd-1.2.1/lib/vagrant-winnfsd/synced_folder.rb:43:inblock (2 levels) in enable' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/environment.rb:561:in lock' from /home/nick/.vagrant.d/gems/gems/vagrant-winnfsd-1.2.1/lib/vagrant-winnfsd/synced_folder.rb:41:inblock in enable' from /home/nick/.vagrant.d/gems/gems/vagrant-winnfsd-1.2.1/lib/vagrant-winnfsd/synced_folder.rb:39:in synchronize' from /home/nick/.vagrant.d/gems/gems/vagrant-winnfsd-1.2.1/lib/vagrant-winnfsd/synced_folder.rb:39:inenable' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/synced_folders.rb:93:in block in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/synced_folders.rb:90:ineach' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/synced_folders.rb:90:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /home/nick/.vagrant.d/gems/gems/vagrant-bindfs-0.4.9/lib/vagrant-bindfs/bind.rb:14:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/synced_folders/nfs/action_cleanup.rb:25:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb:12:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:49:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb:30:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/env_set.rb:19:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/provision.rb:80:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /home/nick/.vagrant.d/gems/gems/vagrant-bindfs-0.4.9/lib/vagrant-bindfs/bind.rb:14:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:15:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/set_name.rb:50:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/clean_machine_folder.rb:17:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/check_accessible.rb:18:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:95:in block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builder.rb:116:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:in block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/util/busy.rb:19:inbusy' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/call.rb:53:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:95:inblock in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builder.rb:116:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:inblock in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/util/busy.rb:19:in busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:inrun' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/call.rb:53:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:95:in block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builder.rb:116:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:in block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/util/busy.rb:19:inbusy' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/call.rb:53:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/box_check_outdated.rb:78:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/config_validate.rb:25:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/check_virtualbox.rb:17:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:95:inblock in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/match_mac_address.rb:19:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/discard_state.rb:15:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/import.rb:74:in import' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/import.rb:13:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb:17:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/prepare_clone.rb:15:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/customize.rb:40:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/check_accessible.rb:18:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:95:inblock in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builder.rb:116:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:inblock in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/util/busy.rb:19:in busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:inrun' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/call.rb:53:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/config_validate.rb:25:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:95:in block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/handle_box.rb:56:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:95:inblock in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builder.rb:116:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:inblock in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/util/busy.rb:19:in busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:inrun' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/call.rb:53:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builder.rb:116:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:inblock in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/util/busy.rb:19:in busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:inrun' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/machine.rb:225:in action_raw' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/machine.rb:200:inblock in action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/environment.rb:561:in lock' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/machine.rb:186:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/machine.rb:186:in action' from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/batch_action.rb:82:inblock (2 levels) in run'
r/vagrant • u/learnphptoday • Jul 12 '17
Vagrant and Docker: a Comparison
r/vagrant • u/synackSA • May 14 '14
How to disable NAT and use Bridged only?
r/vagrant • u/wililupy • Nov 10 '20
A web front end to manage vagrant instances
Hello,
I am looking for a web front end to Vagrant that can be hosted on a web server and can deploy vagrant instances and configure them and export the vagrantfiles for others to use. I looked into Protobox, but it looks like that project has be defunked since it hasn't been updated since 2015.
Does anyone know of anything out there that allows this type of functionality or capabilities?
Thanks, wililupy
r/vagrant • u/zwischenzugs • Oct 27 '17
Ten Things I Wish Iād Known Before Using Vagrant
r/vagrant • u/nbglink • Sep 03 '20
Elasticsearch cluster in 15 minutes using Vagrant and VirtualBox
r/vagrant • u/yukiiiiii2008 • Aug 25 '20
Haven't been asked Please choose a switch to attach to your Hyper-V instance.
Vagrant haven't asked "Please choose a switch to attach to your Hyper-V instance" and attached switch to my instance. So it timed out when vagrant tried to get an ip.
==> node1: Running action triggers before up ...
==> node1: Running trigger...
==> node1: Creating 'NATSwitch' Hyper-V switch if it does not exist...
node1: Running local script: ./vagrant-up-scripts/create-nat-hyperv-switch.ps1
node1: "NATSwitch" for static IP configuration already exists; skipping
node1: "192.168.100.1" for static IP configuration already registered; skipping
node1: "192.168.100.0/24" for static IP configuration already registered; skipping
node1:
==> node1: Verifying Hyper-V is enabled...
==> node1: Verifying Hyper-V is accessible...
==> node1: Importing a Hyper-V instance
node1: Creating and registering the VM...
node1: Successfully imported VM
==> node1: Starting the machine...
==> node1: Waiting for the machine to report its IP address...
node1: Timeout: 120 secondsBut with the same Vagrantfile but different box, it starts to ask me again. Is there any cache somewhere I can delete to solve this problem?