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.
171 questions
0
votes
0
answers
20
views
Impossible to set up shared clipboard on vms handled created with Vagrant
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 ...
-1
votes
1
answer
76
views
Is a multi-machine Vagrant a good choice to simulate a Kubernetes cluster?
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 ...
0
votes
1
answer
52
views
Vagrant 2.3.7 no longer supported by https://vagrantcloud.com
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' ...
2
votes
1
answer
143
views
BASH script doesn't mount my device when invoked by UDEV
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 :...
0
votes
0
answers
47
views
Not able to login to a user through another user in Vagrant
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 ...
0
votes
1
answer
308
views
Unable to start the VM with centos and not able to figure out the error
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 ...
0
votes
1
answer
253
views
An ALTER USER postgres PASSWORD 'postgres' fails when provisioning vagrant with Postgresql
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 ...
5
votes
1
answer
2k
views
Changing file permissions from 777 to 755 or changing the owner doesn't do anything
[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 ...
1
vote
0
answers
36
views
Vagrant: Force provisioning ssh to be external ssh (not Ruby's Net::SSH)
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 ...
1
vote
0
answers
75
views
Adding -o KexAlgorithms to vagrant up's ssh
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 ...
1
vote
0
answers
174
views
Vagrant OpenBSD Box not starting up through Libvirt Provider
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=...
0
votes
2
answers
1k
views
Vagrant password in Debian 11/12
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?
1
vote
1
answer
447
views
I need help with packer (vagrant box) build(er) config/scripts so UEFI boot order is properly configured
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 ...
0
votes
1
answer
240
views
I build a vagrant VM (Arch Linux + EFI) using Hashicorp packer, but the screen flickers
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 ...
0
votes
1
answer
107
views
Automated Ubuntu Desktop Build - DNS Failure on boot
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 ...