Questions tagged [vagrant]

Use this tag for questions about Vagrant, an open-source software product for building and maintaining portable virtual development environments.

Filter by
Sorted by
Tagged with
3
votes
0answers
36 views

How do I get synced_folder to execute after a shell provisoner

So what I think I'm trying to do is pretty simple, I need to execute the following in-order: Run a script that will install via script VBoxLinuxAdditions.run [this is working when I run it by itself] ...
2
votes
1answer
44 views

vagrant on windows 10 incorrect network configuration on multi-machine setup

I have a problem with vagrant that is running on windows 10 when I deploy centos 8 machines all the machines have eth0 with the same Ip and they cannot communicate with each other the ip 10.0.2.15 ...
4
votes
2answers
2k views

Ansible warning that host key has changed, even though I've taken multiple steps to prevent this warning

I've followed the recommendations I could find to prevent this from happening. I am using Vagrant, but once the boxes are spun, I'd like to do things with the ansible command sometimes. $ grep ...
0
votes
1answer
164 views

Build Docker Images with Ansible + Vagrant

So I am working on a research project and I am trying to automatically generate specific environments on different virtualization techniques. So, first I made a Vagrantfile that pulls an Ubuntu ...
3
votes
2answers
1k views

Ansible configure and compile in directory

So I have have an Ansible Task that extracts a programs sourcecode zip into a certain directory and is then supposed to compile and install it. The extraction of the zip works fine, but then I need to ...
0
votes
1answer
106 views

Problem with Vagrant : Nothing happens on vagrant up command

Versions Vagrant: 1.9.5 Provider: Virtualbox 5.2.30 Guest: precise32 Host: windows 7 -32bit, build:7600 Powershell: 2.0 Vagrant destroy & up output nothing happens here...just an empty directory ...
2
votes
1answer
61 views

Understanding Vagrant virtual machine import

I'm building my Windows server 2012 vm with packer and when I'm doing a vagrant up it's failing because the folder name already exists… Here is my json file for packer { "builders": [ { "...
2
votes
1answer
82 views

Structuring Ansible playbooks for low volume, purpose-built images

I hope this question is not too vague / opinion-based: I need to create and maintain a handful of virtual machines that get packaged up and deployed out to thousands of users, depending on specific ...
1
vote
1answer
52 views

How does Vagrant differ from VirtualBox and similar software, if at all?

Both Vagrant and VirtualBox (or their alternatives) seem to me to virtualize an OS on top of another OS, How do they differ from one another essentially, if at all?
1
vote
1answer
62 views

How frequently do PaaS:VPS agencies upgrade OS_release in comparison to PaaS:shared-webserver?

I know that in a In PaaS:shared-webserver service a user could have the OS of its server environment release_upgraded in 8 or 12 years or so ! For example, I host a few sites on a particular host that ...
0
votes
1answer
30 views

Is Vagrant an operating system by itself?

If Vagrant (and similar software) uses to orchestrate, install and continuously upgrade one or more OSs on a single machine, isn't it some kind of an operating system by itself? Or it actually ...
-1
votes
1answer
68 views

A cloud technology with automatic upgrades of my OS-release and web server release?

I desire a cloud technology that will redund my need of using Vagrant to continuously integrate OS release upgrades (say from Ubuntu 18.04 to 20.04 including all software installed by apt-get --- ...
1
vote
2answers
29 views

Can a 5 US $ VPSE support VAD stack with 2 relatively-small CMSs?

I'm new to DevOps and quite troubled financially but I desire to put websites that I now host on a shared server environment (CetnOS 12.x.x) on some cloud like DigitalOcean or Lindoe (but without ...
-1
votes
1answer
52 views

VAD (Vagrant-Ansible-Docker) stack for Ubuntu and Apache

I'm having trouble establishing a Ubuntu-LAMP environment with continuous integration - I feel lost from the different solutions out there and time and again I fear that my vanilla-Bash Ubuntu-LAMP ...
-1
votes
1answer
43 views

Maximally-self-managed hosting-platforms and OS-and-above containerizators (like Vagrant)

A maximally-self-managed hosting-platform like DigitalOcean/Linode lets a customer quickly create its own VPSE (Virtual Private Server Environment) which includes a common FOSS operating system like ...
7
votes
1answer
433 views

How does Vagrant differ from Ansible and Docker?

I understand that Ansible is a Configuration Management (CM) tool for orchestrating, deploying (and continuously upgrading) software and conf via a special YAML format created for that software, and ...
3
votes
1answer
601 views

How do I automate population of known_hosts and authorized_keys?

This is a question that may be easier answered on askubuntu or, perhaps, serverfault, but it arises in the context of automated provisioning, so I figured that it's more appropriate here. I am ...
0
votes
1answer
872 views

vagrant box tests in gitlab-ci

I have a vagrant box, provisioned with Ansible that needs testing on github pull requests. Is it possible to setup CI test suite for the mirror in gitlab-ci without extra expenses on droplets? Or ...
5
votes
3answers
146 views

Other tools to provision virtual machines

I've been using vagrant for provisioning virtual machines (Linux only) and so far I've been happy with it. The two things I dislike about it - the hardcoded dependency on the user vagrant as well as ...
5
votes
1answer
193 views

What is a suitable strategy for provisioning Chef Server through code?

Background I am tasked with setting up a Chef server on our Azure Cloud for a new DevOps automation project. We are using the Resource Manager model for Azure, in case it's relevant. We will likely ...
0
votes
1answer
46 views

Vagrant box take long time to access shared /vagrant folder

I have a vagrant box running on windows 10 hyper-v config.vm.box = "kmm/ubuntu-xenial64" #A standard Ubuntu 16.04 LTS (x64). config.vm.provider "hyperv" Just after provisioning it, it seems to be ...
13
votes
3answers
10k views

How to use Vagrant and Docker-for-Windows on a Hyper-V system?

Back in the day, I was using VirtualBox (VB) and Vagrant (V) to run VMs. Since I installed docker-for-windows (DfW) and run V, VB complains about Hyper-V (HV). [user@localhost ~]$ vagrant up Stderr: ...
5
votes
3answers
1k views

Vagrant inside a VM to control the VM host

Background I have an application which comes with a Vagrant setup that is designed for this usage scenario: Laptop (Windows, Virtualbox host) => edit source code +----> Vagrant VM (Linux) =>...
1
vote
1answer
113 views

How to setup testkitchen with ansible-provisioning from localhost for different vagrant-vms?

As pointed out here, testkitchen is in principable usable with ansible if the right plugins are installed. Now I've done all the installing and am at the point, where I wonder, what I missunderstood: ...
1
vote
1answer
465 views

SSH to VM inside Docker container

I have a Docker image based on Ubuntu Xenial. Inside that container I try to start FreeBSD VM by using Vagrant and VirtualBox (Note: host OS for Docker is VM based on Vagrant and VirtualBox). VM is ...
2
votes
1answer
136 views

Error Vagrant Provisioning with Virtual Box on Fedora

I'm Provisioning Vagrant Box with Virtual-box on Fedora 26. $ vagrant -v Vagrant 1.9.1 $ virtualbox -v virtualbox 5.1 Below is the error; muhammadtaqi@localhost etc]$ vagrant up Bringing machine '...
1
vote
1answer
63 views

Start dev with purely docker, or something like vagrant (in a to-be-dockerized application)?

I have a Ruby on Rails application that has been around for a while, and implemented completely classical, so far. Everything is fine; but since the number of environments we are deploying to (testing,...
1
vote
1answer
36 views

Deploying a set of cloud instances based on a list of parameter differences

Sorry for the general and vague nature of my question. Let me describe with some more detail what I would like to do (or what I think I would like to do). I have a shell script for ubuntu 16.04 ...
3
votes
1answer
76 views

SaltStack and Vagrant adding files

I use file.managed to add a file: /home/vagrant/.bash_profile: file.append: - name: /home/vagrant/.bash_profile - source: salt://config/user/.bash_profile - user: vagrant - group: ...
14
votes
3answers
21k views

How do I configure SSH keys in a Vagrant multi-machine setup?

I have 4 VMs in my Vagrantfile - 3 application servers and an Ansible control host. I only use Vagrant to create the VMs as I provision them manually from the ansible control host because I am still ...
10
votes
3answers
4k views

Unable to ssh in a multi-machine vagrant environment

I created a three node multi-machine vagrant environment and am having issues ssh'ing from one vagrant vm to another. Here is the Vagrantfile: Vagrant.configure("2") do |config| config.vm.box =...
6
votes
1answer
224 views

What can Vagrant, Puppet, Docker, Chef do for a Full stack Web developer?

First of all let me say that I'm aware of related questions here in SO: Vagrant, Docker, Puppet, Chef Vagrant + puppet + docker chef-server - chef-solo - vagrant - puppet... which is correct for me? ...
8
votes
1answer
600 views

Vagrantfile change with Ansible playbook to control file permission on Vagrant synced folder for Trellis

I use Trellis for my WordPress development. It works great, except I'm finding it hard to change file (or directory) permission within the synced folder. Generally I'm OK with the default permission ...
4
votes
1answer
484 views

How to terminate EC2 instance in Jenkins via Vagrant when job is stopped manually?

I've freestyle jobs which aims to run EC2 instances via Vagrant (vagrant up), however when I cancel the job manually (by clicking X button), the instances on EC2 are still running. How can I make sure ...