Skip to main content

Questions tagged [vagrant]

Vagrant is free and open-source software for creating and configuring virtual development environments. It can be considered a wrapper around virtualization software such as VirtualBox and configuration management software such as Chef, Salt and Puppet.

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

I am trying to automate the deployment of a cybersecurity lab. My goal is to have a repeatable process to create a Debian-based with all my tools and configs. To this extent, I recently discovered ...
paupaulaz's user avatar
  • 165
-1 votes
1 answer
81 views

I am in front of a book to teaching myself Kubernetes. It has many chapters about handling a Kubernetes cluster, and it urges the reader to create an account on a cloud server, if he can. Else to ...
Marc Le Bihan's user avatar
0 votes
1 answer
55 views

It seems https://vagrantcloud.com no longer supports Vagrant v2.3.7: $ vagrant --version Vagrant 2.3.7 $ vagrant init ubuntu/focal64 --box-version 20240821.0.1 $ vagrant up Bringing machine 'default' ...
Ole Tange's user avatar
  • 37.6k
2 votes
1 answer
149 views

Im trying to create a udev rule that mounts my device by his uuid, so i can after read into its contents. My udev file is localized in the /etc/udev/rules.d/99-local.rules, and this are it's contents :...
rustymanito's user avatar
0 votes
0 answers
52 views

I have a main user scriptbox where all three other web01, web02, web03 are connected. Web03 is an ubuntu based VM and other two are centos. They are running fine but web03 is not doing, it keep ...
Indra Sekar's user avatar
0 votes
1 answer
314 views

I am trying to vagrant up my two VMs: one is Ubuntu and the other is CentOS. One is working fine and the other gives this error: Loading mirror speeds from cached hostfile Could not retrieve ...
Indra Sekar's user avatar
0 votes
1 answer
264 views

I'm provisioning a vagrant box with Postgresql. It looks going well, but at the end, it cannot run an ALTER USER postgres PASSWORD 'postgres'; for a Permission denied. Here's what I'm doing, and what ...
Marc Le Bihan's user avatar
5 votes
1 answer
2k views

[vagrant@localhost vagrant]$ sudo chmod 755 luser-demo01.sh [vagrant@localhost vagrant]$ ls -l total 5 -rwxrwxrwx 1 vagrant vagrant 101 May 30 19:44 luser-demo01.sh -rwxrwxrwx 1 vagrant vagrant 3464 ...
TechieMon's user avatar
1 vote
0 answers
38 views

https://developer.hashicorp.com/vagrant/docs/v2.4.0/vagrantfile/ssh_settings says: config.ssh.extra_args (array of strings) - This settings value is passed directly into the ssh executable. This ...
Ole Tange's user avatar
  • 37.6k
1 vote
0 answers
75 views

I want to use: https://app.vagrantup.com/FritsHoogland/boxes/centos39-oracle817 The basic vagrant up command fails: $ vagrant init FritsHoogland/centos39-oracle817 $ vagrant up There was an error ...
Ole Tange's user avatar
  • 37.6k
1 vote
0 answers
178 views

So I have created a OpenBSD 7.3 VM in libvirt with the following shell command. virt-install --name openbsd7.3 --os-variant openbsd7.0 \ --virt-type kvm --vcpus 1,maxvcpus=2 --memory 256,maxmemory=...
prmethus's user avatar
0 votes
2 answers
1k views

I am using Vagrant to create VMs, but I cannot find the default password for the user vagrant. If there is no password, how can I set it up during provisioning from the Vagrantfile?
john's user avatar
  • 411
1 vote
1 answer
455 views

Setup Host OS: Manjaro XFCE x86_64 Apps: packer (plugins: virtualbox-iso), Guest OS: Arch Linux Hypervisor: Virtualbox Architecture: x64 I have built a Vagrant box ...
Folaht's user avatar
  • 1,166
0 votes
1 answer
244 views

Setup Host OS: Manjaro XFCE x86_64 Apps: packer (plugins: virtualbox-iso), Guest OS: Arch Linux Hypervisor: Virtualbox Architecture: x64 This is my issue: My packer ...
Folaht's user avatar
  • 1,166
0 votes
1 answer
107 views

I am trying to create an automated build of an Ubuntu Desktop 22.04.2 using the official guide (https://github.com/canonical/autoinstall-desktop) and then use ansible to configure it. The automated ...
Samcro1967's user avatar
3 votes
0 answers
190 views

vagrant box prune removes old versions of boxes, but I can't find any Vagrant command to remove boxes which simply are no longer in use. For example, right now vagrant global-status says "There ...
l0b0's user avatar
  • 53.6k
1 vote
1 answer
172 views

With Vagrant, I aim to have three master and two node machines on my Ubuntu host. My Vagrantfile: Vagrant.configure("2") do |config| config.ssh.insert_key = false (1..3).each do |i| ...
Richard Rublev's user avatar
1 vote
0 answers
124 views

Setup: Over the past week I've been trying to set up a Nextcloud Docker instance on an Ubuntu Server VM, in my old 2015 Macbook Pro using VirtualBox and Vagrant. While the VM only has limited storage ...
wangf22's user avatar
  • 11
0 votes
2 answers
382 views

I use this Vagrantfile: Vagrant.configure("2") do |config| config.vm.box = "jonatasbaldin/solaris11" config.vm.box_version = "1.0.0" end The vagrant up is ...
Mévatlavé Kraspek's user avatar
1 vote
1 answer
165 views

This is my Vagrantfile: Vagrant.configure("2") do |config| config.vm.box = "ramsey/macos-catalina" config.vm.define "macosx-test" config.vm.box_version = "1.0....
Mévatlavé Kraspek's user avatar
0 votes
1 answer
197 views

root  pop-os  /etc  mkdir vbox root  pop-os  /etc  cd vbox/ root  pop-os  /etc/vbox  nano networks.conf * 10.0.0.0/8 192.168.0.0/16 * 2001::/64 I used this solution to solve the problem with ...
wodikiy313's user avatar
0 votes
1 answer
846 views

I want to create a nested virtual machine with network access. I use vagrant on the Host (Layer 0) to create the Layer 1 guest, and then would want to use vagrant to create a Layer 2 guest (inside the ...
MrMeszaros's user avatar
0 votes
1 answer
130 views

I'm attempting to provision two VM's that can send traffic to each other, but I am having trouble implementing this with Vagrant. In my Vagrantfile I have: Vagrant.configure("2") do |config| ...
wwillfred's user avatar
0 votes
2 answers
1k views

I am attempting to recover a dropped laptop hard drive and ended up installing Debian 11 fresh to a swapped SSD that I had cloned the internal SSD to but it still wouldn't work. So I am recovering my ...
user163831's user avatar
1 vote
1 answer
304 views

I'm configuring Netfilter Tables to queue packets to and from the userspace, and the table configuration I have so far looks like: table inet filter { # protocols to allow set ...
wwillfred's user avatar
1 vote
1 answer
397 views

I am trying to locate the file /etc/nftables/inet-filter which is referenced in the readme for a project I've inherited. When I installed nftables, the only files that existed in etc/nftables were: . ...
wwillfred's user avatar
0 votes
1 answer
438 views

I'm trying to vagrant up three Ubuntu 20.04-arm64 servers on Mac m1 and getting a loop cycle of errors: ==> db: Waiting for machine to boot. This may take a few minutes... db: SSH address: :22 ...
artshakhov's user avatar
0 votes
1 answer
656 views

I configured a VirtualBox virtual machine via vagrant to have a private_network address at 192.168.56.100 and noticed that I can ping the address, but not ssh to it. After some investigation I found ...
cs224's user avatar
  • 111
2 votes
2 answers
5k views

I've got a small SRE lab set up using various Vagrant boxes (VirtualBox backend). I usually work on a Debian or Archlinux box and attach to a Windows box via remote debugging. On my Linux boxes, X11 ...
Simon's user avatar
  • 195
0 votes
0 answers
2k views

For a vagrant setup, I want to install xfce4 in the machine. My Vagrant file is based on the box ubuntu/focal64 (which is a bare minimum system). One of the post-installation steps is: sudo apt ...
Pascal's user avatar
  • 519
0 votes
0 answers
225 views

How to make VM with Virtualbox (preferably with Vagrantfile), that allows running Dockerfile inside? (architecture: x86-64) Objective: I would like to benefit from VirtualBox VM isolation (for safety),...
Grzegorz Wierzowiecki's user avatar
2 votes
1 answer
4k views

I can't get vagrant working with libvirt. I first used the distro packages, but it produced the same error you see in my description below. Then I removed every distro vagrant package and installed ...
murphy's user avatar
  • 345
3 votes
1 answer
11k views

I'm trying to follow this tutorial here: https://www.itwonderlab.com/en/ansible-kubernetes-vagrant-tutorial/ using Debian 10 as the vagrant host, and as Debian no longer supports Virtual Box, I'm ...
cat pants's user avatar
  • 167
1 vote
0 answers
116 views

This is the scenario It is created with Vagrant and configured with Ansible, but the specific problem I'm going to ask about here is why IP forwarding is not working when it should be working. On the ...
Adrián Jaramillo's user avatar
1 vote
1 answer
346 views

I use CentOS 8.4, libvirtd (libvirt) 6.0.0, Vagrant 2.2.18, gem version 2.7.6.3 and ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux] I am trying to use vagrant to build VM's on Qemu/KVM. ...
Vijayanand Arunagiri's user avatar
-1 votes
1 answer
712 views

This is defualt CentOS7 partition download from Vagrant box package except the disk size I change from 40GB to 80GB How can I decrease /dev/sda1 partition size without losing Boot data? And Is fresh ...
Yuki's user avatar
  • 1
3 votes
1 answer
471 views

I run in a strange problem if I try to execute a file inside vagrant mount, but not outside: $ cat test #!/usr/bin/env node console.log('works!') $ ls -la test -rwxr-xr-x 1 vagrant vagrant 43 May ...
Anton Bessonov's user avatar
0 votes
1 answer
860 views

When I mean "from the outside", I mean from the internet. My machine is behind a router. And I'm running vagrant to bring up 3 machines. Here's the vagrant file (I removed the fluff): ...
Mesos's user avatar
  • 33
1 vote
1 answer
2k views

I'm trying to use a tool called SecGen that creates a virtual machine with a random vulnerability for hacking. I'm not using the newer repo because I've been having unrelated issues that I won't state ...
lol_moon's user avatar
1 vote
1 answer
975 views

I want to setup Ubuntu 18.04 VM with installed go. I have the following shell provisioner script: wget https://dl.google.com/go/go1.15.5.linux-amd64.tar.gz sudo tar -xzvf go1.15.5.linux-amd64.tar.gz ...
user's user avatar
  • 113
0 votes
1 answer
2k views

I'm using vagrant to emulate services with network communication. My base box is the ubuntu/bionic64. The application that I'm porting to the VM is written in C++ and binds to ipc addresses as follows:...
hao123's user avatar
  • 103
0 votes
1 answer
1k views

I try to clone a Debian10 computer in a VM automatically via vagrant. I start from scratch with packer then reinstall all the packages and configurations. So, I tried from hardware computer: dpkg --...
Mévatlavé Kraspek's user avatar
1 vote
0 answers
56 views

It happened yesterday, and today again. The vagrant box on my machine jumped to the year 2285 (venv3.9.0) root@v-yf:/var/log# timedatectl Local time: Mon 2285-09-21 06:15:40 CET ...
guettli's user avatar
  • 1,589
3 votes
2 answers
6k views

I want to run vagrant up in Debian WSL from a Windows terminal. I have installed vagrant: /mnt/c/HS_DEV/Homestead$ vagrant --version I get Vagrant 2.2.6 When I run vagrant up, I get: The executable '...
Axel AMGHAR's user avatar
1 vote
1 answer
446 views

I built my first Vagrant box. When I vagrant up the box I get this error: tange/centos3.3 Bringing machine 'default' up with 'virtualbox' provider... tange/centos3.3 ==> default: Importing base box ...
Ole Tange's user avatar
  • 37.6k
3 votes
0 answers
2k views

I am running openVPN gateway to an AWS VPC. I can normally mount AWS FSx for Lustre on my bare metal CENTOS7 machine using a command like this sudo mount -t lustre -o noatime,flock 10.1.1.90@tcp:/fsx /...
openCivilisation's user avatar
1 vote
0 answers
549 views

Currently having a trouble restricting a service on a specific user. Here's my systemd file for reference. [Unit] Description=myapp After=syslog.target [Service] User=user1 ExecStart=/var/myapp/myapp....
Joshua Magora's user avatar
1 vote
0 answers
205 views

By default vagrant generated keys to replace the insecure one. However I have no idea where they're stored, and I'm trying to back them up. Where are they stored? (On Ubuntu 20.04)
unixandria's user avatar
-1 votes
1 answer
1k views

Guide https://tracker.ceph.com/projects/ceph/wiki/Ceph_Vagrant_Setup $ wget https://www.dropbox.com/s/hn28qgjn59nud6h/ceph-all-in-one.box --2020-03-14 12:11:09-- https://www.dropbox.com/s/...
rawmain's user avatar
  • 105
0 votes
1 answer
275 views

After installing the vagrant packages on Fedora 31 and subsequently running the vagrant command, there are these errors regarding ignored Rubygems: Ignoring ffi-1.10.0 because its extensions are not ...
Newbyte's user avatar
  • 1,522