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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

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