Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vagrant]

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

0
votes
1answer
19 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
41 views
+50

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 ...
1
vote
0answers
53 views

Is ArchLinux + Ansible for an all-default LAMP generally stable?

I usually establish IaaS LAMP environments with non rolling-release Linux OSs such as Ubuntu/CentOS but I consider using rolling-release ones like ArchLinux instead. it might be more efficient to me (...
0
votes
1answer
26 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 ...
0
votes
0answers
5 views

Vagrant on Mojave: bsdtar: Error opening archive: Unrecognized archive format

After a fresh install of vagrant (brew cask) and Virtualbox I always run into this problem: vagrant up ...
0
votes
1answer
38 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 --- ...
0
votes
1answer
17 views

Remote Hyper-V server with Vagrant

I use Vagrant to create virtual machines on Windows 10 for running some development servers (mainly PHP, NGINX, and MariaDB). Because my projects are hosted on different production environments, ...
0
votes
1answer
14 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 ...
0
votes
1answer
21 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 ...
0
votes
1answer
32 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 ...
4
votes
1answer
97 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 ...
2
votes
1answer
46 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
25 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 ...
0
votes
0answers
15 views

Vagrant package --output box how to set the version?

In the provisioning file you can set: config.vm.box = "box_group/box_name" config.vm.box_version = "0" When running vagrant package --output name.box to create the .box file how do you add a version?...
0
votes
0answers
12 views

Is it possible to change disk size of box after initial creation with vagrant?

I've created and been working on a box for a while, I regularly update the output package, and it's getting rather large (Magento install on Ubuntu 16.04 LTS LEMP stack) how would I increase the disc ...
0
votes
1answer
47 views

Vagrant will not install a box

I have a basic vagrant install (sudo apt install vagrant) and I have a Vagrant file created by doing vagrant init bento/ubuntu-16.04. Then when I do vagrant up it just hangs there not downloading ...
0
votes
0answers
98 views

How do I resize the disk(s) in a vagrant box

I am using an oraclelinux6 base box from http://github.com/oracle/vagrant-boxes.git for a development project. after running $ vagrant up; vagrant ssh I switch to root by: $ sudo su and run $ fdisk ...
6
votes
3answers
96 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
107 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
36 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 ...
6
votes
2answers
2k 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: ...
6
votes
2answers
475 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
59 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: ...
0
votes
1answer
295 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
92 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
53 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
30 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
45 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: ...
10
votes
3answers
7k 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 ...
9
votes
2answers
1k 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
199 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? ...
7
votes
1answer
348 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
323 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 ...