Using userdata to pass shell scripts to an instance using cloud-init

Solution Verified - Updated -

Issue

  • Where are the output of my shell script, when given to 'nova boot' as user-data?
  • Does it runs every it every reboot? or just one time?

Environment

  • Red Hat Enterprise Linux OpenStack Platform 3
  • Red Hat Enterprise Linux OpenStack Platform 4
  • Red Hat Enterprise Linux 6 (running cloud-init)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In