GithubHelp home page GithubHelp logo

ronaldosaheki / packer-ubuntu-1604 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geerlingguy/packer-boxes

0.0 2.0 0.0 13 KB

Packer Example - Ubuntu 16.04 minimal Vagrant Box using Ansible provisioner

Home Page: http://files.midwesternmac.com/

Shell 100.00%

packer-ubuntu-1604's Introduction

Packer Example - Ubuntu 16.04 minimal Vagrant Box

Current Ubuntu Version Used: 16.04.2

Pre-built Vagrant Box:

This example build configuration installs and configures Ubuntu 16.04 x86_64 minimal using Ansible, and then generates two Vagrant box files, for:

  • VirtualBox
  • VMware

The example can be modified to use more Ansible roles, plays, and included playbooks to fully configure (or partially) configure a box file suitable for deployment for development environments.

Requirements

The following software must be installed/present on your local machine before you can use Packer to build the Vagrant box file:

Usage

Make sure all the required software (listed above) is installed, then cd to the directory containing this README.md file, and run:

$ packer build ubuntu1604.json

After a few minutes, Packer should tell you the box was generated successfully.

If you want to only build a box for one of the supported virtualization platforms (e.g. only build the VMware box), add --only=vmware-iso to the packer build command:

$ packer build --only=vmware-iso ubuntu1604.json

Testing built boxes

There's an included Vagrantfile that allows quick testing of the built Vagrant boxes. From this same directory, run one of the following commands after building the boxes:

# For VMware Fusion:
$ vagrant up vmware --provider=vmware_fusion

# For VirtualBox:
$ vagrant up virtualbox --provider=virtualbox

License

MIT license.

Author Information

Created in 2016 by Jeff Geerling, author of Ansible for DevOps.

packer-ubuntu-1604's People

Contributors

geerlingguy avatar flxpeters avatar

Watchers

Ronaldo avatar James Cloos avatar

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.