Skip to content

Commit bb94438

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

37 files changed

+52
-51
lines changed

almalinux-10/Containerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ RUN userdel systemd-oom && \
4242
userdel systemd-coredump
4343

4444
COPY excludes /etc/warewulf/
45-
COPY container_exit.sh /etc/warewulf/
46-
RUN /etc/warewulf/container_exit.sh
45+
COPY image_exit.sh /etc/warewulf/
46+
RUN ln -sf image_exit.sh /etc/warewulf/container_exit.sh && /etc/warewulf/image_exit.sh
4747

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

almalinux-10/Containerfile-fixed

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ RUN userdel systemd-oom && \
4848
userdel systemd-coredump
4949

5050
COPY excludes /etc/warewulf/
51-
COPY container_exit.sh /etc/warewulf/
52-
RUN /etc/warewulf/container_exit.sh
51+
COPY image_exit.sh /etc/warewulf/
52+
RUN ln -sf image_exit.sh /etc/warewulf/container_exit.sh && /etc/warewulf/image_exit.sh
5353

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

almalinux-10/Containerfile-vault

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ RUN userdel systemd-oom && \
4949
userdel systemd-coredump
5050

5151
COPY excludes /etc/warewulf/
52-
COPY container_exit.sh /etc/warewulf/
53-
RUN /etc/warewulf/container_exit.sh
52+
COPY image_exit.sh /etc/warewulf/
53+
RUN ln -sf image_exit.sh /etc/warewulf/container_exit.sh && /etc/warewulf/image_exit.sh
5454

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

almalinux-8/Containerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
3838
RUN userdel systemd-coredump # remove unused dynamic system user
3939

4040
COPY excludes /etc/warewulf/
41-
COPY container_exit.sh /etc/warewulf/
42-
RUN /etc/warewulf/container_exit.sh
41+
COPY image_exit.sh /etc/warewulf/
42+
RUN ln -sf image_exit.sh /etc/warewulf/container_exit.sh && /etc/warewulf/image_exit.sh
4343

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

almalinux-8/Containerfile-fixed

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
4141
RUN userdel systemd-coredump # remove unused dynamic system user
4242

4343
COPY excludes /etc/warewulf/
44-
COPY container_exit.sh /etc/warewulf/
45-
RUN /etc/warewulf/container_exit.sh
44+
COPY image_exit.sh /etc/warewulf/
45+
RUN ln -sf image_exit.sh /etc/warewulf/container_exit.sh && /etc/warewulf/image_exit.sh
4646

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

almalinux-8/Containerfile-vault

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
4545
RUN userdel systemd-coredump # remove unused dynamic system user
4646

4747
COPY excludes /etc/warewulf/
48-
COPY container_exit.sh /etc/warewulf/
49-
RUN /etc/warewulf/container_exit.sh
48+
COPY image_exit.sh /etc/warewulf/
49+
RUN ln -sf image_exit.sh /etc/warewulf/container_exit.sh && /etc/warewulf/image_exit.sh
5050

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

almalinux-9/Containerfile

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

4242
COPY excludes /etc/warewulf/
43-
COPY container_exit.sh /etc/warewulf/
44-
RUN /etc/warewulf/container_exit.sh
43+
COPY image_exit.sh /etc/warewulf/
44+
RUN ln -sf image_exit.sh /etc/warewulf/container_exit.sh && /etc/warewulf/image_exit.sh
4545

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

almalinux-9/Containerfile-fixed

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ RUN chmod u+w / # https://github.com/openhpc/ohpc/issues/2061
4646
RUN userdel systemd-coredump # remove unused dynamic system user
4747

4848
COPY excludes /etc/warewulf/
49-
COPY container_exit.sh /etc/warewulf/
50-
RUN /etc/warewulf/container_exit.sh
49+
COPY image_exit.sh /etc/warewulf/
50+
RUN ln -sf image_exit.sh /etc/warewulf/container_exit.sh && /etc/warewulf/image_exit.sh
5151

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

0 commit comments

Comments
 (0)