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": [ {"boot_wait":...
View ArticleVagrant - reuse already defined vms within same Vagrantfile
I am using a Vagrantfile to create a Kubernetes cluster, I start with variables definition of servers and I move on to a loop to shuffle through each server definition creation. Within the loop I do...
View Articlevagrant 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 is...
View ArticleCan the Puppet Vagrant Provisioner use Remote Puppet Modules?
I'm starting to dabble in vagrant provisioners besides the shell provisioner. In an attempt to get started with other provisioners, I took a shot at the Puppet Apply provisioner, which can be used...
View ArticleK8s sig-storage-local-static-provisioner hostDir against /vagrant mount?
I am trying to set storage sig-storage-local-static-provisioner to /vagrant mapped folder on windows host, my expectation is that the localstorage calss will automatically provision pvs based on pvc...
View ArticleAnsible warning that host key has changed, even though I've taken multiple...
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 host_key...
View ArticleVagrantfile setup with multi-cluster
I'm looking to use vagrant to create several but identical cluster of VMs.For example, suppose I want to create 2 VMs, say with hostnames n1 and n2 as one cluster (c1). Then I want to basically repeat...
View ArticleHow 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]Run...
View ArticleError - "`block (2 levels) in ': wrong number of arguments (given 1, expected...
I get this error when I run a simple vagrant script to spin up a VM. The "provider" is VirtualBox & the "box" to be used is CentOS7.I have tried to change the hostname to all strings. It was a...
View ArticleHow 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 upStderr:...
View ArticleVagrant box take long time to access shared /vagrant folder
I have a vagrant box running on windows 10 hyper-vconfig.vm.box = "kmm/ubuntu-xenial64" #A standard Ubuntu 16.04 LTS (x64).config.vm.provider "hyperv"Just after provisioning it, it seems to be running...
View ArticleHow to setup testkitchen with ansible-provisioning from localhost for...
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:As...
View ArticleWhat is a suitable strategy for provisioning Chef Server through code?
BackgroundI 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 use...
View ArticleOther 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...
View ArticleHow 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...
View ArticleHow can I provision using Vagrant if I need a system restart in the middle of...
Good day to you all,How can I approach the following case:System: CentOS Stream/7-8; RHEL; FedoraVagrant up (init a machine) with shell script provisioning as a file.Case: I go for a full update, the...
View ArticleSecurity of vagrant boxes - who maintains them?
Is there anywhere to see who a box is maintained by?For example the debian related boxes at https://app.vagrantup.com/debian - are these official images/boxes maintained by "The Debian Project"?What...
View ArticleVagrant multiple VMs with hostname resolution
I want to bring up multiple VMs in one Vagrantfile so that each VM can ping the hostnames of the other VMs. The VMS are base CentOS 7 images. Here is the minimum example of how their networking is...
View Articlecannot ssh first vm created by multi vm vagrantfile and vm name net getting...
I have written a multi-vm vagrant file, first I am not able to ssh using vagrant ssh dnsmasq to the first vm and for second vm the public network is not getting created i.e. after I ssh to pihole vm,...
View Articlepublic network and local directory did not get mounted as in virtualbox
I decided to switch from using virtualbox to hyperv on windows 10 professional.I am using vagrant to spin vm . the vagrant file is shown below.VAGRANTFILE_API_VERSION = "2"PUBLIC_NET_BRIDGE = 'Realtek...
View Article