Git Product home page Git Product logo

edpm-image-builder's Introduction

edpm-image-builder

A repository to build OS images for deploying EDPM bare metal nodes using diskimage-builder.

Image build elements

Images are built with elements from diskimage-builder, ironic-python-agent-builder, and the dib directory of this repository. These can be installed in a venv, for example from the edpm-image-builder directory:

python3 -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
export ELEMENTS_PATH=$(pwd)/dib:$(pwd)/venv/share/ironic-python-agent-builder/dib

edpm-hardened-uefi

The CentOS-9-Stream version of edpm-hardened-uefi.qcow2 can be built with master branch current-podified by running:

diskimage-builder ./images/edpm-hardened-uefi-centos-9-stream.yaml

To create a FIPS enabled image, add edpm-hardened-uefi-fips.yaml to include the fips element:

diskimage-builder ./images/edpm-hardened-uefi-centos-9-stream.yaml ./images/edpm-hardened-uefi-fips.yaml

See dib/repo-setup/README.md for environment variables to control which RDO repositories to configure.

edpm-hardened-uefi.qcow2 can be packaged inside a container image for distribution by running:

buildah bud -f ./Containerfile.image -t edpm-hardened-uefi:latest

It can then be copied out of the container image, for example into /path/to/images:

podman run --volume /path/to/images:/target:Z --rm edpm-hardened-uefi:latest

ironic-python-agent

The CentOS-9-Stream version of ironic-python-agent.initramfs and ironic-python-agent.kernel can be built with master branch current-podified by running:

diskimage-builder ./images/ironic-python-agent-centos-9-stream.yaml

Similarly, the rhel-9 version can be built with master branch current-podified by running:

diskimage-builder ./images/ironic-python-agent-rhel-9.yaml

ironic-python-agent.qcow2 can be packaged inside a container image for distribution by running:

buildah bud -f ./Containerfile.ramdisk -t ironic-python-agent:latest

It can then be copied out of the container image, for example into /path/to/images:

podman run --volume /path/to/images:/target:Z --rm ironic-python-agent:latest

edpm-image-builder's People

Contributors

steveb avatar jpodivin avatar abays avatar bshewale avatar kajinamit avatar raukadah avatar rlandy avatar sandeepyadav93 avatar shreshtha90 avatar rabi 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.