Add public key to Vagrant

After copying a file to Vagrant and creating a basic file structure. We can continue with our series. So, in this post, we are going to talk about the following topics: Assign an IP address Add your public key Access to vagrant machine without vagrant ssh For the first point and taking the file structure previously mentioned, we modify as follow: Vagrant.configure("2") do |config| = "centos/7" "public_network", bridge: "en0: Wi-Fi (AirPort)", auto_config: false config. [Read More]

Copying files to vagrant

Well, one of the common things to do in Vagrant is copying files. So for achieve that task we need to prepare a file like this. Once we have that file, we change = "ubuntu/trusty64" for = "centos/7". And modify it like follow: Vagrant.configure("2") do |config| = "centos/7" config.vm.provision "file", source: "lorem_ipsum.txt", destination: "~/lorem_ipsum.txt" end Alright we run the command for execute our file. ❯ vagrant up Bringing machine 'default' up with 'virtualbox' provider. [Read More]

Creating virtual machines with Vagrant

It’s been awhile since I wrote a post, but in compensation I would make a series of post talking about deploying applications with edeliver. But for this, we need to prepare the path. So, in this first post I will talk about Vagrant and how to use to setup an environment. First of all, we’re going to install Vagrant and Virtual Box. We’ll download Vagrant from this link and follow the instructions(i. [Read More]