Bug 1256034

Summary: [RFE] Support an arbitrary text or script for cloud-init with runcmd section
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Roy Golan <rgolan>
Component: RFEsAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED WONTFIX QA Contact: Nikolai Sednev <nsednev>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, dfediuck, lsurette, michal.skrivanek, rbalakri, rgolan, srevivo, ykaul, ylavi
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: dfediuck: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-06 12:27:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roy Golan 2015-08-23 14:09:54 UTC
Description of problem:

Some engine VM specific configuration can be achieved using the help of a script
that the cloud-init will execute. e.g register your engine VM to dynamic dns service so the setup env could resolve it:

1. during setup pass file or text. No validation should be made on the input.
2. input passes as runcmd: section -
      
   runcmd:
    - [ curl, x.x.x.x://register.sh ]

3. cloud init should run it.

Comment 1 Yaniv Lavi 2015-09-01 11:19:49 UTC
What is the use case?
Is this a RFE for future versions?

Comment 2 Doron Fediuck 2015-09-21 13:18:25 UTC
At this point this is an improvement.

Comment 3 Yaniv Kaul 2015-11-22 14:06:11 UTC
Michal - is this yours?

Comment 4 Yaniv Lavi 2018-06-06 12:27:27 UTC
Closing old RFEs. Please reopen if needed.
Patches are welcome.