Skip to content

Commit 4f0336e

Browse files
committed
Rename container_exit.sh to image_exit.sh
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
1 parent 77168db commit 4f0336e

27 files changed

+38
-19
lines changed

almalinux-8/Containerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ RUN systemctl unmask \
3939
RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
4040

4141
COPY excludes /etc/warewulf/
42-
COPY container_exit.sh /etc/warewulf/
42+
COPY image_exit.sh /etc/warewulf/
43+
RUN ln -s image_exit.sh /etc/warewulf/container_exit.sh
4344

4445
CMD [ "/bin/echo", "-e", \
4546
"This image is intended to be used with the Warewulf cluster management and", \

almalinux-8/Containerfile-fixed

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ RUN systemctl unmask \
4242
RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
4343

4444
COPY excludes /etc/warewulf/
45-
COPY container_exit.sh /etc/warewulf/
45+
COPY image_exit.sh /etc/warewulf/
46+
RUN ln -s image_exit.sh /etc/warewulf/container_exit.sh
4647

4748
CMD [ "/bin/echo", "-e", \
4849
"This image is intended to be used with the Warewulf cluster management and", \

almalinux-8/Containerfile-vault

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ RUN systemctl unmask \
4646
RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
4747

4848
COPY excludes /etc/warewulf/
49-
COPY container_exit.sh /etc/warewulf/
49+
COPY image_exit.sh /etc/warewulf/
50+
RUN ln -s image_exit.sh /etc/warewulf/container_exit.sh
5051

5152
CMD [ "/bin/echo", "-e", \
5253
"This image is intended to be used with the Warewulf cluster management and", \

almalinux-9/Containerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ RUN dnf update -y \
3232
RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
3333

3434
COPY excludes /etc/warewulf/
35-
COPY container_exit.sh /etc/warewulf/
35+
COPY image_exit.sh /etc/warewulf/
36+
RUN ln -s image_exit.sh /etc/warewulf/container_exit.sh
3637

3738
CMD [ "/bin/echo", "-e", \
3839
"This image is intended to be used with the Warewulf cluster management and", \

almalinux-9/Containerfile-fixed

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ RUN dnf update -y \
3838
RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
3939

4040
COPY excludes /etc/warewulf/
41-
COPY container_exit.sh /etc/warewulf/
41+
COPY image_exit.sh /etc/warewulf/
42+
RUN ln -s image_exit.sh /etc/warewulf/container_exit.sh
4243

4344
CMD [ "/bin/echo", "-e", \
4445
"This image is intended to be used with the Warewulf cluster management and", \

almalinux-9/Containerfile-vault

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
4040
RUN userdel systemd-oom # remove unused dynamic system user
4141

4242
COPY excludes /etc/warewulf/
43-
COPY container_exit.sh /etc/warewulf/
43+
COPY image_exit.sh /etc/warewulf/
44+
RUN ln -s image_exit.sh /etc/warewulf/container_exit.sh
4445

4546
CMD [ "/bin/echo", "-e", \
4647
"This image is intended to be used with the Warewulf cluster management and", \

debian/Containerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2222

2323

2424
COPY excludes /etc/warewulf/
25-
COPY container_exit.sh /etc/warewulf/
25+
COPY image_exit.sh /etc/warewulf/
26+
RUN ln -s image_exit.sh /etc/warewulf/container_exit.sh
2627

2728
CMD [ "/bin/echo", "-e", \
2829
"This image is intended to be used with the Warewulf cluster management and", \

debian/Containerfile-12.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2222

2323

2424
COPY excludes /etc/warewulf/
25-
COPY container_exit.sh /etc/warewulf/
25+
COPY image_exit.sh /etc/warewulf/
26+
RUN ln -s image_exit.sh /etc/warewulf/container_exit.sh
2627

2728
CMD [ "/bin/echo", "-e", \
2829
"This image is intended to be used with the Warewulf cluster management and", \

0 commit comments

Comments
 (0)