Skip to main content

Questions tagged [vagrantfile]

Vagrantfiles are configuration files for vagrant. The Vagrantfile describes the type of virtual machine, and how to configure and provision the vm.

vagrantfile
0 votes
0 answers
9 views

jenkins not exposing in browser in custom nat network

I had configured my vagrantfile with my custom nat network for some use to connect the remote servers but the problem is I am not able to access the jenkins at port 8080 on browser debug trials done: ...
Jasvinder singh's user avatar
-1 votes
2 answers
53 views

Where are Vagrant symbols (special values) documented? [closed]

Both in the documentations of Vagrantfile and in different Vagrantfile files we find symbols like the following: :id, :ssl, :plaintext, :negotiate :auto, :linux, :windows. Where are those symbols (...
wolfrevo's user avatar
  • 7,066
0 votes
0 answers
24 views

vagrant up command issues for it is not working properly, what could be the issue

I am having this error using vagrant up. How do i correct it? Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'eurolinux-vagrant/centos-stream-9'... ...
Nicholas's user avatar
0 votes
1 answer
38 views

Vagrant 2.3.4 'Vagrant up' command error on Windows 10 with VirtualBox 7.0.8: 'Vagrant_up_error' [Screenshot Attached] [closed]

Recently i had reinstalled vagrant 2.3.4. With all the prerequisites configured i was facing error whenever I was trying to start my virtual machine using 'Vagrant up' command. Specs: OS= Windows 10, ...
TD_Shori's user avatar
-1 votes
0 answers
16 views

Run a set of commands on a particular vagrant box once everything is up

Suppose I have this Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "bento/debian-12" config.vm.define "box1&...
Amrou's user avatar
  • 429
0 votes
0 answers
14 views

command not found, when I try to configure Tomcat via Vagrant

I want to install Tomcat 9 using Vagrant. I install java 17, and git but with Tomcat I got a problem. Can you help me please. this is my code of my provision config.vm.provision "shell", ...
Mouhamadou Moustapha MBAYE's user avatar
0 votes
0 answers
13 views

Error while powering up the virtual machine

I keep on getting this error, even after i completely turned off my Antivirus. I cannot understand why this error process up and why i can't power up my VM? I did try boxname multiple times but ...
Alan Joseph's user avatar
0 votes
0 answers
13 views

Vagrant : Permission denied (publickey) when trying to connect from vagrantbox1 to vagrantbox2 using SSH

I can't connect from vagrantbox1 to vagrantbox2 using SSH. I've opened a seperate port 1234 from both machines and by using command in vagrantbox1 nc -vz vagrantbox2ip 1234 I made sure that the port ...
Saku Laitinen's user avatar
0 votes
0 answers
15 views

while I run vagrant file i got some error

There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "333261c2-61dc-4d57-8e60-...
Gokul Nath's user avatar
0 votes
1 answer
215 views

Laravel homestead Can't Preform Vagrant Up Error Constraints: >= 13.0.0, < 14.0.0

This is the vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : require 'json' require 'yaml' VAGRANTFILE_API_VERSION ||= "2" confDir = $confDir ||= File.expand_path(File.dirname(__FILE__)...
Maaz Aslam's user avatar
1 vote
0 answers
763 views

Error: [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)

windows 11 Vagrant 2.4.0 I was using multiple vagrants using single file This is the code of my vagrant file Vagrant.configure("2") do |config| config.hostmanager.enabled = true config....
Ham Apke Hai Kon's user avatar
-1 votes
1 answer
164 views

Can't connect to a running server in vagrant with windows OS

I recently installed vagrant in windows 10 and everything just work fine but as I know almost nothing about Virtualization or VM's I got a problem when connecting to a server. I have a nodejs server ...
nabe's user avatar
  • 1
1 vote
1 answer
38 views

Create an alias in Vagrant shell provision

I can't figure out why my alias definition within the Vagrantfile shell provisioning script is not working. This is (a part of) my Vagrantfile: config.vm.provision "shell", inline: <<-...
vasilli's user avatar
  • 45
0 votes
0 answers
90 views

How to get SQL script from MySQL Workbench .mwb file programatically?

My db schema is designed in MySQL Workbench and saved as a .wmb file. In my Vagrantfile I want to generate the SQL schema for my db and then load it. Smth like this: MySQLWorkbench --generateSQL ...
vasilli's user avatar
  • 45
0 votes
0 answers
25 views

What is the point of do |variable| in Vagrantfile?

Can someone explain to me the difference b/w these two options, if any? What is the preferred way and why? Rn I have this: BoxName = "crbienes-test" Vagrant.configure("2") do |...
vasilli's user avatar
  • 45

15 30 50 per page
1
2 3 4 5
67