Git Product home page Git Product logo

kairos-kubevirt's Introduction

Kairos

This repo is used to install and configure Kairos OS on edge nodes.

Image Customization

In order to customize Kairos OS with additional packages, a base kairos image needs to be customized using Dockerfile and the customized imaged needs to be pushed on a registry. Currently the registry must be public because during installation no authentication is provided against the registry.

Requirements

  • docker

Procedure

Run the following commands

cd stage

docker build -t <DOCKER_REPO>/kairos-custom-image .

docker push <DOCKER_REPO>/kairos-custom-image

# Edit the file stage/config.yaml and replace the occurences of <docker-repo>, <docker-image> and <ziti-token> with the necessary values
vim config.yaml

docker run -v $PWD/config.yaml:/config.yaml \
  -v $PWD/build:/tmp/auroraboot \
  -v /var/run/docker.sock:/var/run/docker.sock \
  --rm -ti quay.io/kairos/auroraboot \
  --set "artifact_version=v2.2.1" \
  --set "release_version=v2.2.1" \
  --set "disable_http_server=true" \
  --set "repository=kairos-io/kairos" \
  --set "disable_netboot=true" \
  --cloud-config /config.yaml \
  --set "state_dir=/tmp/auroraboot" \
  --set "flavor=ubuntu-20-lts"

When the process is finished you can find the iso to flash on USB in stage/build/iso/kairos.iso.custom.iso

kairos-kubevirt's People

Contributors

franzudev avatar

Watchers

 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.