Skip to content

Add iproute2 package for JSON output from ip -j a #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG ALPINE_VERSION=latest
ARG BINFMT_IMAGE=tonistiigi/binfmt:latest

FROM ${BINFMT_IMAGE} as binfmt
FROM ${BINFMT_IMAGE} AS binfmt

FROM alpine:${ALPINE_VERSION}
RUN apk add alpine-sdk build-base apk-tools alpine-conf busybox \
Expand Down
9 changes: 5 additions & 4 deletions genapkovl-lima.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ EOF
mkdir -p "$tmp"/etc/apk
makefile root:root 0644 "$tmp"/etc/apk/world <<EOF
alpine-base
iproute2
openssh-server-pam
EOF

Expand Down Expand Up @@ -208,6 +209,10 @@ if [ "${LIMA_INSTALL_GIT}" == "true" ]; then
echo "git" >> "$tmp"/etc/apk/world
fi

if [ "${LIMA_INSTALL_IPTABLES}" == "true" ]; then
echo "iptables ip6tables" >> "$tmp"/etc/apk/world
fi

if [ "${LIMA_INSTALL_K3S}" == "true" ]; then
echo "k3s" >> "$tmp"/etc/apk/world
rc_add k3s default
Expand All @@ -217,10 +222,6 @@ if [ "${LIMA_INSTALL_LOGROTATE}" == "true" ]; then
echo "logrotate" >> "$tmp"/etc/apk/world
fi

if [ "${LIMA_INSTALL_IPTABLES}" == "true" ]; then
echo "iptables ip6tables" >> "$tmp"/etc/apk/world
fi

if [ "${LIMA_INSTALL_OPENSSH_SFTP_SERVER}" == "true" ]; then
echo "openssh-sftp-server" >> "$tmp"/etc/apk/world
fi
Expand Down
2 changes: 1 addition & 1 deletion mkimg.lima.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ profile_lima() {
kernel_cmdline="console=hvc0 console=tty0 console=ttyS0,115200"
syslinux_serial="0 115200"
apkovl="genapkovl-lima.sh"
apks="$apks openssh-server-pam tiny-cloud-nocloud"
apks="$apks iproute2 openssh-server-pam tiny-cloud-nocloud"
if [ "${LIMA_INSTALL_CA_CERTIFICATES}" == "true" ]; then
apks="$apks ca-certificates"
fi
Expand Down