Skip to content

Commit

Permalink
Merge pull request #42 from jandubois/bump-nerdctl-2.0.0
Browse files Browse the repository at this point in the history
Bump nerdctl 2.0.0
  • Loading branch information
Nino-K authored Nov 6, 2024
2 parents a0a3bec + 3274956 commit 9de0a8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARCH_ALIAS = $(shell echo "$(ARCH_ALIAS_$(ARCH))")
BINFMT_IMAGE=tonistiigi/binfmt:qemu-$(QEMU_VERSION)
CRI_DOCKERD_ORG=Mirantis
CRI_DOCKERD_VERSION=0.3.15
NERDCTL_VERSION=2.0.0-rc.3
NERDCTL_VERSION=2.0.0
OPENRESTY_VERSION=0.0.5
QEMU_VERSION=v8.1.5

Expand Down
5 changes: 3 additions & 2 deletions lima-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ if [ -n "${LIMA_CIDATA_TIMEZONE}" ]; then
fi

# Create user
LIMA_CIDATA_HOMEDIR="/home/${LIMA_CIDATA_USER}.linux"
useradd --home-dir "${LIMA_CIDATA_HOMEDIR}" --create-home --uid "${LIMA_CIDATA_UID}" "${LIMA_CIDATA_USER}"
# LIMA_CIDATA_HOME has been added in Lima 0.18.0
LIMA_CIDATA_HOMEDIR=${LIMA_CIDATA_HOME:-/home/${LIMA_CIDATA_USER}.linux}
useradd --home-dir "${LIMA_CIDATA_HOMEDIR}" --create-home --comment "${LIMA_CIDATA_COMMENT:-}" --uid "${LIMA_CIDATA_UID}" "${LIMA_CIDATA_USER}"

# Add user to sudoers
echo "${LIMA_CIDATA_USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/90-lima-users
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"
apks="$apks openssh-server-pam tiny-cloud-nocloud"
if [ "${LIMA_INSTALL_CA_CERTIFICATES}" == "true" ]; then
apks="$apks ca-certificates"
fi
Expand Down

0 comments on commit 9de0a8b

Please sign in to comment.