Giter Site home page Giter Site logo

mpls / centos-packer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from insaneworks/insaneworks-packer-template

0.0 2.0 0.0 611 KB

CentOS 6.6 / 7.0 x64 + Chef + VirtualBox and VMware for Packer Template

Home Page: https://www.insaneworks.co.jp

License: BSD 3-Clause "New" or "Revised" License

Shell 100.00%

centos-packer's Introduction

centos-packer

CentOS 6.6 / 7.0 x64 + Chef + VirtualBox / VMWare for Packer Template

Packer Build for VirtualBox

cd centos6 or centos7
packer validate [ CentOS_6.json | CentOS_7.json ]
VERSION=v20150213 packer build [ -only virtualbox-iso | -only vmware-iso ]  [ CentOS_6.json | CentOS_7.json ]

Add Vagrant Box

box add BOXNAME INSANEWORKS-CentOS-6.6-x86_64-v20150213-virtualbox.box
box add BOXNAME INSANEWORKS-CentOS-7.0-x86_64-v20150213-virtualbox.box
or
box add BOXNAME INSANEWORKS-CentOS-6.6-x86_64-v20150213-vmware.box
box add BOXNAME INSANEWORKS-CentOS-7.0-x86_64-v20150213-vmware.box

Vagrant Cloud

mkdir centos
cd centos
vagrant init insaneworks/centos
or
vagrant init insaneworks/centos7
vagrant up

or Public URL Init

mkdir centos
cd centos
vagrant init INSANEWORKS-CentOS-6.6-x86_64-v20150213 http://www.insaneworks.co.jp/pub/boxes/INSANEWORKS-CentOS-6.6-x86_64-v20150213-virtualbox.box
vagrant init INSANEWORKS-CentOS-7.0-x86_64-v20150213 http://www.insaneworks.co.jp/pub/boxes/INSANEWORKS-CentOS-7.0-x86_64-v20150213-virtualbox.box
or
vagrant init INSANEWORKS-CentOS-6.6-x86_64-v20150213 http://www.insaneworks.co.jp/pub/boxes/INSANEWORKS-CentOS-6.6-x86_64-v20150213-vmware.box
vagrant init INSANEWORKS-CentOS-7.0-x86_64-v20150213 http://www.insaneworks.co.jp/pub/boxes/INSANEWORKS-CentOS-7.0-x86_64-v20150213-vmware.box
vagrant up

or Edit Vagrantfile (Vagrant 1.5.0 or Higher)

   # please see the online documentation at vagrantup.com.

   # Every Vagrant virtual environment requires a box to build off of.
-  config.vm.box = "base"
+  config.vm.box = "insaneworks/centos" or "insaneworks/centos7"

   # Create a forwarded port mapping which allows access to a specific port
   # within the machine from a port on the host machine. In the example below,
vagrant up

Enjoy!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.