Skip to content

Commit

Permalink
Add ubuntu 24.04 support
Browse files Browse the repository at this point in the history
  • Loading branch information
tweiers committed Dec 10, 2024
1 parent 98e6f95 commit 404f4e9
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
33 changes: 33 additions & 0 deletions ubuntu-24/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM ubuntu:24.04


# ----- install vital packages -----
ENV DEBIAN_FRONTEND teletype
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils \
kmod \
systemd-sysv \
dbus \
openssh-client \
openssh-server \
isc-dhcp-client \
pciutils \
strace \
nfs-common \
ethtool\
linux-image-generic \
ifupdown \
ifmetric \
netbase && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*


COPY excludes /etc/warewulf/
COPY container_exit.sh /etc/warewulf/

CMD [ "/bin/echo", "-e", \
"This image is intended to be used with the Warewulf cluster management and", \
"\nprovisioning system.", \
"\n", \
"\nFor more information about Warewulf, visit https://warewulf.org" ]
6 changes: 6 additions & 0 deletions ubuntu-24/container_exit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -x
LANG=C
LC_CTYPE=C
export LANG LC_CTYPE
apt-get clean
1 change: 1 addition & 0 deletions ubuntu-24/excludes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/boot/

0 comments on commit 404f4e9

Please sign in to comment.