Skip to content

Commit

Permalink
Merge pull request #24 from kubealex/update-use-case
Browse files Browse the repository at this point in the history
fix html tags
  • Loading branch information
kubealex authored Jan 23, 2025
2 parents 63a188a + 50bd966 commit a3eb005
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion use-cases/bootc-container-httpd/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<title>RHEL Image Mode Demo</title>
</head>
<body>
<p><strong>Welcome to this httpd instance in a RHEL Image mode system</strong></p>
<p><strong style="color: red;">Welcome to this httpd instance in a RHEL Image mode system</strong></p>
</body>
</html>
2 changes: 1 addition & 1 deletion use-cases/bootc-container-upgrade/Containerfile.upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN dnf -y install httpd && \
systemctl enable httpd && \
mv /var/www /usr/share/www && \
sed -ie 's,/var/www,/usr/share/www,' /etc/httpd/conf/httpd.conf
RUN echo "Welcome to the bootc-http instance! \nThe OS update was successful and you are now running an instance with MariaDB" > /usr/share/www/html/index.html
COPY files/index.html /usr/share/www/html/index.html
RUN echo "This is a RHEL VM installed using a bootable container as an rpm-ostree source!" > /etc/motd.d/10-first-setup.motd
RUN echo "This server now supports MariaDB as a database, after last update" > /etc/motd.d/20-upgrade.motd
RUN dnf -y install mariadb mariadb-server vim && dnf clean all && rm -rf /var/cache /var/log/dnf && systemctl enable mariadb
Expand Down
2 changes: 1 addition & 1 deletion use-cases/bootc-image-builder-qcow/Containerfile.qcow
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ RUN dnf -y install httpd && \
systemctl enable httpd && \
mv /var/www /usr/share/www && \
sed -ie 's,/var/www,/usr/share/www,' /etc/httpd/conf/httpd.conf
RUN echo "Welcome to the bootc-http instance!" > /usr/share/www/html/index.html
COPY files/index.html /usr/share/www/html/index.html
EXPOSE 80
11 changes: 11 additions & 0 deletions use-cases/bootc-image-builder-qcow/files/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RHEL Image Mode Demo</title>
</head>
<body>
<p><strong style="color: red;">Welcome to this httpd instance in a RHEL Image mode system</strong></p>
</body>
</html>

0 comments on commit a3eb005

Please sign in to comment.