How do I run a bash script in satallite 6?

Latest response

I create the bash script in the provisioning section and then associated it with the OS.
Then selected it under the templates tab.
It comes up in the templates section for the host.
But it never runs.
Does anyone know how this is supposed to work?
I assume there is another step.

Responses

Are you trying to run this during provisioning? if so, if you mark it is a snippet you can include this from the %post section by adding a line such as:

<%= snippet 'my_kewl_script' %>

Okay I'll give that a go and see if it works.

Why does it not work as a script?
What is the script supposed to do?

Hi Darran,

Did that solution end up working for you?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.