Feature #18715

Accept base64-encoded shell script via kernel command line

Added by Lukas Zapletal about 1 year ago. Updated 2 months ago.

Status:Closed
Priority:High
Assigned To:Lukas Zapletal
Category:Image
Target version:Image 3.4.0
Difficulty: Pull request:https://github.com/theforeman/foreman-discovery-image/pull/101
Bugzilla link:
Story points-
Velocity based estimate-

Description

Some users need to do small changes during discovery or implement workarounds for non-existing features (configure network bond). While we do support ZIP extensions, these require network connections and not everything can be workarounded.

We can implement base64-encoded (perhaps gzipped) shell scripts that would be executed during system boot, so users could easily put shell commands to execute before or during discovery. Two scripts could be accepted - before and after network initialization. These could be simple systemd service units decoding and executing shell scripts.

Associated revisions

Revision 929c1df9
Added by Lukas Zapletal 2 months ago

Fixes #18715 - added fdi.script option (#101)

History

#1 Updated by Lukas Zapletal about 1 year ago

  • Priority changed from Normal to High
  • Target version set to Image 3.4.0

#2 Updated by Rahul Bajaj 5 months ago

  • Assigned To set to Rahul Bajaj

#3 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-discovery-image/pull/101 added

#4 Updated by Lukas Zapletal 3 months ago

  • Assigned To changed from Rahul Bajaj to Lukas Zapletal

A customer asked for this, easy one.

#5 Updated by Lukas Zapletal 2 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF