Skip to content

A set of vagrant box configurations for CentOS 7.1: base, MariaDB, ElasticSearch and MongoDB

License

Notifications You must be signed in to change notification settings

cmontemuino/vagrant-centos-7.1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer for CentOS 7.1

This repository contains a CentOS 7.1 template to create a Vagrant box using Packer.

How to use it

Box created from this repository is https://atlas.hashicorp.com/cmontemuino/boxes/centos7.1.x64-base

In order to use it with Vagrant, just issue the following:

$ vagrant init cmontemuino/centos7.1.x64-base

Installed Packages

Minimal + Guest Additions + Debugging/Development tools + EPEL repo

  • openssh
  • openssh-clients
  • openssh-server
  • rpm
  • yum
  • curl
  • dhclient
  • passwd
  • vim-minimal
  • sudo
  • kernel-headers
  • kernel-devel
  • gcc
  • dkms
  • perl
  • bzip2
  • ntp
  • ntpdate
  • man
  • rsync
  • git
  • make
  • vim
  • screen
  • nmap
  • lsof
  • strace
  • tcpdump
  • traceroute
  • telnet
  • ltrace
  • bind-utils
  • sysstat
  • nc
  • wget
  • zip
  • deltarpm
  • nfs-utils
  • acpid

Requirements

Troubleshooting

In case of getting the following error:

$ vagrant init cmontemuino/centos7.1.x64-base; vagrant up --provider virtualbox
The box 'cmontemuino/centos7.1.x64-base' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/cmontemuino/centos7.1.x64-base"]
Error: error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none

Then check whether ca-certificates package is installed. Another possibility is you need to create the certs folder, and copy the ca-certificates.crt to it:

$ sudo mkdir -p /etc/pki/tls/certs
$ sudo cp /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt

Aknowledgments

This work is partially based on https://github.com/hansode/packer-vagrant-templates

License

Licensed under MIT License

About

A set of vagrant box configurations for CentOS 7.1: base, MariaDB, ElasticSearch and MongoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages