Cloud-init for RHEL 5 virtual machines

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 5

Issue

  • What do we use for RHEL 5 to run some scripts during the first boot?

Resolution

  • Red Hat does not have officially supported cloud-init packages for RHEL5, but there are cloud-init packages in the EPEL repository.
## RHEL/CentOS 5 32-Bit ##
# wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

## RHEL/CentOS 5 64-Bit ##
# wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

2 Comments

Title says RHEL 6 but the solution appears to be for RHEL 5.

Thanks, Jeff. I fixed the article title.