![]() Vagrant box add bento/ubuntu-18.04 -box-version 201812.27.0 -provider hyperv Vagrant box add ubuntu/xenial64 -box-version 20170618.0.0 -provider virtualbox Vagrant box add hashicorp/precise64 #user: hashicorp boximage: precise64, this is preconfigured repository These are standard VMs from providers in Virtualbox, VMware or Hyper-V format taken from a given repository Vagrant comes with a preconfigured image repositories. Vagrant plugin update # then update broken plugin Images aka box management Sudo gem update bundler # if update needed Install ruby is recommended as configuration within Vagrant file is written in Ruby language. #sudo apt-get update & sudo apt-get install -f # resolve missing dependencies LATEST=$(curl -s GET | jq -r '.name' | head -n1 | tr -d v) echo $LATEST # Install downloading a package from sources ![]() Wget -O- | gpg -dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpgĮcho "deb $(lsb_release -cs) main" | sudo tee /etc/apt//hashicorp.list # Install using Ubuntu package manager (2022) You can version control this file.Ĭheck your distro most likely Ubuntu version candidate There is a description of what OS, how much RAM, and what software to be installed etc. The Vagrant file is a text file in which vagrant reads that sets up our environment. Each of these projects has its own Vagran file. Vagrant is configured on a per project basis.
0 Comments
Leave a Reply. |