GithubHelp home page GithubHelp logo

mi-centos's Introduction

CentOS 6 ISO Builder

This repo allows one to create a custom ISO with the necessary packages and tooling for deploying on SmartOS and Joyent Public Cloud.

Requirements

In order to use this repo, you need to have the following:

  • SmartOS
  • A running CentOS instance (physical or virtual) with spare disk space
  • sdc-vmtools

Setup

Included is a setup_env.sh script to be run inside the CentOS instance. This script will install the necessary packages required to create a custom ISO.

Using

The next script is create_iso which takes a series of commands:

  • fetch
  • layout
  • finish

fetch

This command will fetch the DVD ISO from a given URL if no currently found.

layout

This command will extract the ISO and place it onto disk and copying any custom RPMS in ./RPMS onto the layout.

finish

This command will cleanup all prior ISO metadata, copy over the kickstart file in ./ks.cfg, modify the boot menu to add the kickstart file, and creates the ISO in ./iso.

You can run each command separately or all together.

./create_iso fetch
#create RPMs
./create_iso layout
./create_iso finish

Or ./create_iso fetch layout finish.

The resulting ISO will be ready to boot and install a clean image ready for SmartOS and the Joyent Public Cloud.

Default Settings For Image

  • Stock Kernel
  • US Keyboard and Language
  • Firewall enabled with SSH allowed
  • Passwords are using SHA512
  • Firstboot disabled
  • SELinux is set to permissive
  • Timezone is set to UTC
  • Disk is 10GB in size (8GB for / and the rest for swap)
  • Default packages installed
    • @core
    • acpid
    • iputils
    • man
    • ntp
    • ntpdate
    • parted
    • vim-common
    • vim-enhanced
    • vim-minimal
    • wget

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.