Skip to content

Instantly share code, notes, and snippets.

@rabajaj0509
Created December 8, 2017 11:07
Show Gist options
  • Save rabajaj0509/c9c35a3e626e857c99d540bfccfa55b5 to your computer and use it in GitHub Desktop.
Save rabajaj0509/c9c35a3e626e857c99d540bfccfa55b5 to your computer and use it in GitHub Desktop.
Ansible meetup 9/12/2018
## Create a folder by the name Ansible:
$ mkdir Ansible
## Create a vagrant env:
$ vagrant init
# After creating a vagrant env, you will see a `Vagrant File`
$ vi Vagrantfile
##press dG to delete all contents of the file
##paste the following contents into the file:
Vagrant.configure("2") do |config|
config.vm.define "fedora"
config.vm.box = "fedora/25-cloud-base"
config.vm.box_version = "20161122"
end
##close the file and exit
## Create the vagrant machine:
$ vagrant up fedora
@rabajaj0509
Copy link
Author

Prerequisite for the above setup would be to have VAGRANT installed in your system:
You can refer : https://www.vagrantup.com/downloads.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment