From 50bd9661940d4a8a4d7e4681cba4bc7392f287c0 Mon Sep 17 00:00:00 2001 From: kubealex Date: Thu, 23 Jan 2025 12:01:09 +0100 Subject: [PATCH] fix html tags --- use-cases/bootc-container-httpd/files/index.html | 2 +- .../bootc-container-upgrade/Containerfile.upgrade | 2 +- use-cases/bootc-image-builder-qcow/Containerfile.qcow | 2 +- use-cases/bootc-image-builder-qcow/files/index.html | 11 +++++++++++ 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 use-cases/bootc-image-builder-qcow/files/index.html diff --git a/use-cases/bootc-container-httpd/files/index.html b/use-cases/bootc-container-httpd/files/index.html index 0689cb7..5954c37 100644 --- a/use-cases/bootc-container-httpd/files/index.html +++ b/use-cases/bootc-container-httpd/files/index.html @@ -6,6 +6,6 @@ RHEL Image Mode Demo -

Welcome to this httpd instance in a RHEL Image mode system

+

Welcome to this httpd instance in a RHEL Image mode system

diff --git a/use-cases/bootc-container-upgrade/Containerfile.upgrade b/use-cases/bootc-container-upgrade/Containerfile.upgrade index 0f5ee90..9aee595 100644 --- a/use-cases/bootc-container-upgrade/Containerfile.upgrade +++ b/use-cases/bootc-container-upgrade/Containerfile.upgrade @@ -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 diff --git a/use-cases/bootc-image-builder-qcow/Containerfile.qcow b/use-cases/bootc-image-builder-qcow/Containerfile.qcow index 1a3e341..0422f15 100644 --- a/use-cases/bootc-image-builder-qcow/Containerfile.qcow +++ b/use-cases/bootc-image-builder-qcow/Containerfile.qcow @@ -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 diff --git a/use-cases/bootc-image-builder-qcow/files/index.html b/use-cases/bootc-image-builder-qcow/files/index.html new file mode 100644 index 0000000..5954c37 --- /dev/null +++ b/use-cases/bootc-image-builder-qcow/files/index.html @@ -0,0 +1,11 @@ + + + + + + RHEL Image Mode Demo + + +

Welcome to this httpd instance in a RHEL Image mode system

+ +