Vagrant setup – centos7 / docker

# install docker yum install -y yum-utils yum-config-manager –add-repo yum install docker-ce # configure docker systemctl enable docker systemctl start docker # configuring current user in docker group sudo usermod -aG docker $(whoami) # install vagrant yum install -y

Vagrant – VagrantFile

VagrantFile is in ruby syntax. This is configuration that is used when vagrant creates vms. If no directory is given vagrant will mount vagrant folder as shared folder between host and container/vm . To setup custom sync folder Vagrant.configure(“2”) do |config| = ‘centos/7’ # configures synced folder config.vm.synced_folder “./content”, “/vagrant” end To setup multi […]

Vagrant boxes

Vagrant boxes are preconfigured images that can be downloaded from vagrant to create your own homogeneous test environment across multisystems and platforms. using vagrantup to get boxes you can download vagrant boxes (image) from or create your own use version control if developing your own #vagrant box commands vagrant box add <URL> vagrant box […]

KVM and Vagrant Setup on RHEL/CentOS 7

Step 1 – KVM and Vagrant Installation Installs needed packages for KVM and Vagrant yum -y install virt-manager qemu qemu-kvm qemu-img libvirt libvirt-python libvirt-devel python-virtinst libvirt-client ruby-devel gcc Auto-starts libvirt on system boot systemctl enable libvirtd Starts the libvirt service immediately systemctl start libvirtd Obtaining Vagrant RPM wget Go to to ensure it […]