coreos / ignition

First boot installer and configuration tool
https://coreos.github.io/ignition/
Apache License 2.0
837 stars 247 forks source link

OEM / provider support of OpenNebula #767

Open BernhardGruen opened 5 years ago

BernhardGruen commented 5 years ago

Feature Request

Currently it is not possible to run CoreOS (using Ignition) on OpenNebula. It would be nice to have support for this open source cloud platform.

Environment

OpenNebula currently uses a config drive (called CONTEXT and available to the VM as CD drive like /dev/cdrom).

On this CONTEXT disk there usually only exists one file: context.sh This file contains possibly multiline (environment) variables in the format KEY='VALUE'. On OpenNebulas side one could implement a mechanism to provide a config.ign file on that CONTEXT drive.

Desired Feature

Ignition should be able to access OpenNebulas CONTEXT drive (available on /dev/cdrom) and then read that config.ign file.

Ideally Ignition should even work just with the context.sh file which contains variables like ETH0_IP and use these to configure its own networking.

bgilbert commented 5 years ago

IRC discussion.

Ideally Ignition should even work just with the context.sh file which contains variables like ETH0_IP and use these to configure its own networking.

That'd go in coreos-metadata, not Ignition.

ajeddeloh commented 5 years ago

Does OpenNebula have a userdata mechanism (on other distros this is used to pass cloudinit config)? This is independent of per-boot context like IP, hostname, etc.