Giter Site home page Giter Site logo

habsgoalie / packer-ubuntu_lts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jose-lpa/packer-ubuntu_lts

0.0 2.0 0.0 17 KB

Packer configuration for building Ubuntu LTS VirtualBox images - with Docker enabled :whale:

License: MIT License

Shell 100.00%

packer-ubuntu_lts's Introduction

Ubuntu LTS Packer templates - Docker enabled

This templates build VirtualBox images based on Ubuntu LTS releases, with Docker LXC enabled to be used.

Features

  • Docker installation from official repositories (latest available version).
  • Default vagrant user already configured to run Docker without doing sudo.

Usage

Note: <VERSION> will obviously be the Ubuntu LTS version you want to use.

  1. Be sure you have Packer and VirtualBox installed in your system.
  2. Clone this repository and go into it.
  3. Run Packer to build the VM.
    • packer build ubuntu-<VERSION>-amd64.json

A VM box file should be created in the working directory under the name ubuntu-<VERSION>.box.

Running the built VM

You can now use Vagrant to run it by creating a Vagrantfile with this content:

# -*- mode: ruby -*-
# vi: set ft=ruby :

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "ubuntu-<VERSION>-amd64"
  config.vm.box_url = "file://ubuntu-<VERSION>.box"
end

And raise and access the VM as usual with Vagrant: vagrant up && vagrant ssh

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.