Giter Club home page Giter Club logo

custom-rhcos-live-iso's Introduction

Custom RHCOS Live ISO

โ— Red Hat does not provide commercial support for any of these tools or repos

#############################################################################
DISCLAIMER: UNSUPPORTED COMMUNITY TOOLS

THE REFERENCES ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
#############################################################################

Usage

  • Create a set-environment file using set-environment-UPDATE-THIS as template
  • Update first-boot-live-iso.sh if necesarry. That script will be generated in memory in the server booting the image
  • Execute ./00-generate-custom-live-iso.sh with the desired flags to generate the custom ISO images
./OO-generate-custom-live-iso.sh add-nodes 

How it works

The generated custom RHCOS Live ISO image has an embedded Igntion file (/root/config.ign) that will be based on the option selected to generate the custom ISO. This can be an ignition file generated by UPI, a custom Ignition or a rendered Ignition file. On boot, the live ISO executes the /usr/local/bin/first.sh whose source is the first-boot-live-iso.sh. That boot script can do anything required (from discovery agent to simple installation). The example included in this repo attempts to detect the first block device and execute coreos-installer to install RHCOS to the block device and inject the /root/config.ign as the Ignition for the installation.

In the case of the coreos-installer arguments, any parameters in the --firstboot-args will only be executing during the first boot of the node after the pivot. Arguments with --append-karg will be persistent in the node for any subsecuent boot.

custom-rhcos-live-iso's People

Contributors

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