Skip to content

This Vagrant file will download a centos 6 box and enable root ssh access

Notifications You must be signed in to change notification settings

johnbayo/Vagrant_centos6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Vagrant box Centos 6 with root ssh access

This Vagrant file will deploy a centos 6 operating system, assign a private ip and also enable ssh access.
examples integrating ansible with vagrant is also shown in the Vagrant file

Requirements
vagrant installation
ssh config for root access
ansible installation (optional)

Host appserver
        User root
        Hostname 192.168.10.2

comment out the lines below to integrate your ansible plays and rename "test.yml" to your play.
#        appserver.vm.provision "ansible" do |ansible|
#               ansible.playbook = "#{Dir.home}//ansible/playbooks/test.yml"
#        end

Usage:
vagrant up
ssh appserver

About

This Vagrant file will download a centos 6 box and enable root ssh access

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published