![]() Let's create Vagrantfile and write some important specifications.Ĭonfig.vm.hostname = "sloopstash-workstation"Ĭonfig.vm.network "private_network", ip: "192.168.99.100"Ĭonfig.vm.synced_folder ".", "/vagrant", disabled: trueĬ_key_path=Ĭonfig.vm.provision "shell", inline: <<-SHELL what operating system you want, how much RAM you allocate, how many CPU cores you want to provide, what software packages you want to install automatically, etc. The purpose of Vagrantfile is to define the VM specification i.e.Go to your project directory and initialize Vagrant to create a Vagrantfile.I am to discuss the robust way of using Vagrant. Building and maintaining VM with Vagrant is very simple. Here are the steps to build Linux Ubuntu 18.04 LTS virtual machine with the help of VirtualBox, Vagrant, and Git Bash. How to build Linux Ubuntu 18.04 virtual machine in Windows 10? ![]() After all the installation process completes, the next step is to build and maintain VM. If the installation is successful you will see the Vagrant version. For that just open Git Bash and run the below command. After successful installation, you can find Vagrant icon the dashboard or from the Windows starter menu.Open the installer, proceed with Next and Finish prompts to set up Vagrant.Vagrant is a powerful open source product developed by HashiCorp that helps you to automate building and maintaining virtual machines using hypervisors such as VirtualBox, VMware, Hyper-V, etc. Open Git Bash and configure your username and email address. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |