Giter Site home page Giter Site logo

tritondatacenter / ubuntu-lx-brand-image-builder Goto Github PK

View Code? Open in Web Editor NEW
13.0 12.0 11.0 111 KB

Scripts used for creating an lx-brand Ubuntu image

Home Page: https://docs.joyent.com/images/container-native-linux

License: Mozilla Public License 2.0

Shell 100.00%
ubuntu smartos triton lx-brand joyent

ubuntu-lx-brand-image-builder's Introduction

Ubuntu lx-brand Image Builder

This is a collection of scripts used for creating an lx-brand Ubuntu image.

Requirements

In order to use these scripts you'll need:

  • Ubuntu (or Debian) running in a VM or bare metal (required for the install script)
  • debootstrap: apt-get install -y debootstrap
  • git: apt-get install -y git
  • A SmartOS (or SDC headnode) install (required for the create-lx-image script)

Note*: The build scripts currently assume you are running under a KVM ubuntu-certified instance that has a secondary disk mounted to /mnt. The scripts have not been tested on an lx-brand instance.

Usage

  1. Run ./install -d <chroot> -m <mirror> -i <image name> -p <proper name> -u <image docs> under Ubuntu to install Ubuntu 14.04 in a given directory. This will create a tarball of the installation in your working directory (named <image name>-<YYMMDD>.tar.gz). See ./install -h for detailed usage.
  2. Copy the tarball to a SmartOS machine or SDC headnode and run ./create-lx-image -t <TARBALL> -i <IMAGE_NAME> -d <DESC> -u <DOCS> (substituting the name of your tar file). This will create the image file and manifest. See /create-lx-image -h for detailed usage.

ubuntu-lx-brand-image-builder's People

Contributors

chorrell avatar dcrudgington avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ubuntu-lx-brand-image-builder's Issues

Nice to have add-apt-repository out of the box

As of right now software-properties-common and python-software-properties are not included with the base image.

This means add-apt-repository is not present on the host. A lot of guides and documentation tell you to use the tool to add a repository to your host. Example:

add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install oracle-java8-installer

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.