GithubHelp home page GithubHelp logo

chuckersjp / coreos-iso-maker Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 51.0 65 KB

Create a bunch of coreos ISOs for OCP 4.x installs when you need to set static IPs

License: Apache License 2.0

Jinja 100.00%

coreos-iso-maker's Issues

Add a little more detail around ignition files

Could you add some more detail to the README with regards to creating individual ignition files. Is there a link to documentation that we could use here or could there be some small description of the process?

Most baremetal UPI and IPI install docs show how to create the generic bootstrap, master, and worker ignition files, but this playbook seems to require an ignition for each individual node on a webserver.

Isolinux generation problem

Please make sure all .j2 file have a space after {% include 'arguments.j2' %} . It is important as the next charcater after the include is ignored.

Especially in isolinux.cfg-single.j2, where the End Of Line is ignored, making the menu list broken.

Sorry for the problematic pull request.

bootstrap_node example

underscores are not allowed in host names. I had someone just change the domain piece of the host names in this role and it failed to install due to underscore in bootstrap_node. Recommend changing to either bootstrap.example.com

Switch to version 4.6

Hello,

I've worked on switching to the version 4.6 of OpenShift.
The solution is simple (but I didnt find a better way to send a message other than an Issue)
Please take a look at the fork on Its4u:
https://github.com/its4u/coreos-iso-maker

On the branch "v4.6", the solution is:
adding an option on the isolunix file (currently only on single-dhcp): coreos.liveiso=RHCOS-x86_64
because on the playbook: /usr/bin/mkisofs [...] -A 'RHCOS-x86_64' [...]

the coreos.liveiso should be the app id. On the iso, the default is rhcos-46.82.202010091720-0, but since the playbook create another iso, it is another app id.

Not related, but the repo on its4u present 3 fixes:
first (on the branch dhcp), a patch to use dhcp
and (on the branch path), a patch to use custom folder in the web_server to pull ignition file or image file

second (on the branch dhcpANDpath): both patch together
third (on the branch v4.6): using the dhcpANDpath patch, I've added the v4.6 patch.
(maybe some parameters on isolinux are useless, I've put them all just in case).
The grub.cfg file is also useless in 4.6 (at least I didnt need it)

Incorrect Ignition URL Kernel Param

Thanks for setting up this repo. Saved me a ton of time creating the ISO's for setting the static IPs.
Just wanted to point out that the param should be "ignition_url" in this line, not image_url

cmd_args: "{{ cmd_args }} coreos.inst.image_url={{ webserver_url }}:{{ webserver_port }}/{{ inventory_hostname_short }}.ign"

RHOCS 4.3 ISO Boot Parameters

Hi,

The isolinux.cfg file does not change the boot params of the ISO's kernel. It seems like it's not honoring it and the default kernel params are shown.

However, I got it to work though by adding the "{{cmd_args}}" to the grub.cfg
Once the "cmd_args" were added to the grub.cfg I was able to see my static IP configuration and iginition_url and image_url in the boot params and everything was gravy.

It was working fine for 4.2. I will open a PR shortly.

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.