-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
False
-
-
False
-
en-US (English), es-ES (Spanish)
-
Low
-
Customer Reported
URL: | https://rol.redhat.com/rol/app/courses/cl110-16.1/pages/ch08s02 |
Reporter RHNID: | cellosofia1@gmail.com |
Section Title: | 8.2 GE: Customizing an Instance at Launch with Cloud-init |
Issue description
The exercise asks the student to create 2 instances with cloud-init. The first one from the web console and the other one from the command line interface.
In the instructions, the exercise asks the student to use rhel8 image (step 1.), but after that in step 1.4, it asks to use rhel8-web Image. There is a mismatch between the instructions and the detailed execution.
After that, from the command line, in step 4.1, you use the rhel8-web image again, which supposedly has apache already installed, but the cloud-init user-data script tries to install it again, which seems counterintuitive, as on step 3, the student creates the user-data file with the following contents:
#!/bin/bash # web server with a postgres backend yum -y install httpd python3-psycopg2 systemctl enable httpd --now
Some students raised this as an improvement point for the book during class, so I'm creating this ticket for that purpose.
Expected result:
I believe it would be better to just use rhel8 base image which does not have apache installed yet on it, and use that image everywhere in the instructions of this guided exercise.