vagrant-provision Questions

5

Solved

I'm using Laravel Homestead (Vagrant, Ubuntu). My host computer is Windows 10 running VirtualBox. As admin (since I've already seen tons of answers that say lack of permissions is usually why peop...
Buchholz asked 18/3, 2020 at 0:20

2

Solved

I am trying WSL 2, also trying Vagrant on it. I used it in Ubuntu 20.04 and it is working properly, but now i am facing problem here in WSL 2 in Windows 10. My Problem might be about SSH problem on...

5

Solved

I was reading a tutorial in bash where they said to restart the machine, there was no option to restart a service directly, it was a matter of restarting the machine, and then there were more comma...
Search asked 20/1, 2016 at 21:31

4

Solved

I know about the provisioning script, but this is a different script that I am asking about. I want a script to be executed after every restart of the guest. I am using shell provisioner. config....
Ovular asked 13/5, 2016 at 10:59

2

I think the words "Provider" and "Provisioner" sound very similar which may lead to confusion especially among beginners confronted with documentation where both terms are mixed up or used synonymo...
Mix asked 10/8, 2016 at 11:51

0

I have multiple networks specified in my vagrantfile and only one of them are accessible from outside. When the vagrant starts provisioning, sometimes it chooses the wrong network (IP) to connect t...
Suburban asked 11/1, 2022 at 12:43

3

Solved

I use Vagrant to start my testing environment. Sadly I have to retrieve information (passwords) before spinning up my Vagrant box. So far I use Vagrant-Triggers to do this and have multiple run "do...
Halvorsen asked 5/1, 2017 at 10:30

6

I want to create several VMs that have docker pre-installed. What is the best/recommended way to go about this? a) Have Docker provisioner do something dummy, just so that Docker gets installed, ...
Teressaterete asked 21/11, 2017 at 14:37

3

Solved

I'm using the ansible_local provisioner for my vagrant box. Some of my variables should be stored in a vault file. While the ansible provisioner provides ask_vault_pass as configuration option (ht...
Steadfast asked 30/1, 2017 at 9:48

2

Solved

I'm trying to install MariaDB (or any software) from a custom repository using Ansible but I am not sure how to import the .repo file using the yum/yum_repository modules. Ansible Here is my play...
Amorino asked 30/12, 2018 at 8:22

2

Solved

Is it possible / valid to run more than one playbooks for a vagrant ansible provisioner in the following form: config.vm.define "repo", primary: true do |d| d.vm.hostname = "some.hostname" # Cr...

1

I am writing a provision script for Vagrant to install all the packages necessary for deploying an app developed with Meteor 1.6. So far, the script is working well, but at three points during its ...
Left asked 21/11, 2017 at 8:12

1

Solved

I have this Vagrantfile. Here I defined the memory to be 2048 for all VMs. But I want my puppet master to have 4096 and agents to have 2048. How to do that? Vagrant.configure("2") do |config| con...
Newel asked 16/5, 2017 at 10:37

1

Solved

I have several Vagrantfile, each one for a different provider, since Vagrant has a limitation that doesn't allow to make two or more provisions at the same time using the same Vagrantfile. So, I sp...
Aguedaaguero asked 3/3, 2016 at 9:9

1

Solved

Here is my bootstrap.sh: #!/usr/bin/env bash apt-get update apt-get install -y apache2 apt-get install python-pip if ! [ -L /var/www ]; then rm -rf /var/www ln -fs /vagrant /var/www fi Here ...
Alisha asked 4/2, 2016 at 2:14

0

I'm following this link https://github.com/acfreitas/oraclebox I tried to include the code for setting up VM storage size on my Vagrant. But i'm getting error like below. ==> vagrant: Running...
Impression asked 11/11, 2015 at 1:25

1

Solved

Is it possible to reverse the order of provisioners from innermost to outermost when using a multi-machine setup? I want a small shell provisioner to create some facts in /etc/facter/facts.d/ befor...
Rationality asked 28/9, 2015 at 20:44
1

© 2022 - 2024 — McMap. All rights reserved.