Code Monkey home page Code Monkey logo

packer-ubuntu-virtualbox's Introduction

Packer - Ubuntu Virual Box With Desktop


Stability: Stable

This is a stable example. It should successfully build out of the box


This example creates a Ubuntu Virtual Box.

Pre-built Vagrant Box:

This example build configuration installs and configures ubuntu desktop amd64.


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:

  • Ubuntu 18
$ cd ubuntu-18
$ ubuntu-packer-build.sh 18.03 or 18.04 <VagrantCloud User/login> <VagrantCloud Password>
  • Ubuntu 20
$ cd ubuntu-20
$ ubuntu-packer-build.sh <VagrantCloud User/login> <VagrantCloud Password>

After a few minutes, Packer should tell you the box was generated successfully, and the box was uploaded to Vagrant Cloud.

> Note: This configuration includes a post-processor that pushes the built box to Vagrant Cloud (which requires a VAGRANT_CLOUD_TOKEN environment variable to be set); remove the vagrant-cloud post-processor from the Packer template to build the box locally and not push it to Vagrant Cloud. You don't need to specify a version variable either, if not using the vagrant-cloud post-processor.

Testing built boxes

There's an included Vagrantfile that allows quick testing of the built Vagrant boxes. From VagrantFile-Example/ directory, run one the following command after building the box:

_$ cd VagrantFile-Example/_
_$ vagrant up_

Authors

Module maintained by Module maintained by the - Nitin Das

packer-ubuntu-virtualbox's People

Contributors

nitinda avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.