Bug #2128

init script added using datastore context files does not run

Added by Javi Fontan about 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:06/14/2013
Priority:NormalDue date:
Assignee:Javi Fontan% Done:


Target version:Release 4.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0


Files added with datastore context files do not have executable bit set so they are not execute.

There should also be a way to specify the scripts that should be executed so they do not need to be called init.sh and more that one can be executed.

Associated revisions

Revision 97eae56e
Added by Javi Fontan about 8 years ago

bug #2128: datastore file scripts are not executed in context

init scripts execution is moved to an external one-context.d script.
Now there is a new context variable (INIT_SCRIPTS) with the list of
files to execute from context.


#1 Updated by Javi Fontan almost 8 years ago

There are new context packages that execute the scripts named in INIT_SCRIPTS. Documentation should be added and maybe integration with CLI and Sunstone

#2 Updated by Ruben S. Montero almost 8 years ago

  • Target version set to Release 4.2

#3 Updated by Javi Fontan almost 8 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF