Skip to content

Commit 67e465e

Browse files
authored
Merge pull request #426 from AkihiroSuda/dev
nerdctl: update to v0.14.0; install bash completion; update {archlinux,debian}.yaml
2 parents f426069 + 4e52456 commit 67e465e

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ jobs:
132132
- name: Install vde_switch and vde_vmnet
133133
if: matrix.example == 'vmnet.yaml'
134134
env:
135-
# 2021-08-31
136-
VDE2_VERSION: 50964c3fb0776e82f8bd1ecdc527683966f3d52c
135+
# 2021-09-21
136+
VDE2_VERSION: 534a09453f956f8f545ba4fe37413be1a139314d
137137
# 2021-09-15
138138
VDE_VMNET_VERSION: v0.5.1
139139
run: |
@@ -145,7 +145,7 @@ jobs:
145145
cd vde-2
146146
git checkout $VDE2_VERSION
147147
autoreconf -fis
148-
./configure --prefix=/opt/vde
148+
./configure --prefix=/opt/vde --disable-python
149149
make
150150
sudo make install
151151
)

examples/archlinux.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
arch: "x86_64"
33
images:
44
# NOTE: the image is periodically rotated, if you face 404, see https://mirror.pkgbuild.com/images/ to find the latest image.
5-
- location: "https://mirror.pkgbuild.com/images/v20211112.38968/Arch-Linux-x86_64-cloudimg-20211112.38968.qcow2"
5+
- location: "https://mirror.pkgbuild.com/images/v20211115.39179/Arch-Linux-x86_64-cloudimg-20211115.39179.qcow2"
66
arch: "x86_64"
7-
digest: "sha256:196e58f1c4e4f3d5293cc0556a59182c3259d7acd7a910537c1a825d8876db82"
7+
digest: "sha256:1f056b5e98e3b75179e71ec4f4237a945fb5043a1753889d6c850d2a8a517137"
88
mounts:
99
- location: "~"
1010
writable: false

examples/debian.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This example requires Lima v0.7.0 or later
22
images:
3-
- location: "https://cloud.debian.org/images/cloud/bullseye/daily/20211114-826/debian-11-generic-amd64-daily-20211114-826.qcow2"
3+
- location: "https://cloud.debian.org/images/cloud/bullseye/daily/20211121-833/debian-11-generic-amd64-daily-20211121-833.qcow2"
44
arch: "x86_64"
5-
digest: "sha512:34920f6b80989642b84e18ee8cac63fc4909381fd8124f479b5e9fee5a0e7562e92465fc9e6b9a2200abded0d6f001c1950bfd9305a37aee9e405e5df28f3f27"
6-
- location: "https://cloud.debian.org/images/cloud/bullseye/daily/20211114-826/debian-11-generic-arm64-daily-20211114-826.qcow2"
5+
digest: "sha512:8ff4ae9aa2bf4c0a5c1ef894ea4ab5f095f5eb30bc6e7227b87c170a7a95ba9cadd4ffe3aa0b662c9d5c57b9cf2fb3f7269d6eeb5c013937b3cf0475f0f3459d"
6+
- location: "https://cloud.debian.org/images/cloud/bullseye/daily/20211121-833/debian-11-generic-arm64-daily-20211121-833.qcow2"
77
arch: "aarch64"
8-
digest: "sha512:6c5937ad83bc72b08bc7c666f5a4d33c9b44289c6113c0a554afccbd49b68e792b180f0b756c6624fe4ba137941c117e1688cff97e633e42515f0b9188b6be8b"
8+
digest: "sha512:1b5c68b5626fb6799b643bd7d79f8c082cbac9e2754a22d1b91f4dcb26cc7ce618b31504c36c5e0ec69ee5b3e312bc1882e73feff0ef89ad4a375b50572789f1"
99
mounts:
1010
- location: "~"
1111
writable: false

pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ command -v systemctl >/dev/null 2>&1 || exit 0
1010

1111
if [ ! -x /usr/local/bin/nerdctl ]; then
1212
tar Cxzf /usr/local "${LIMA_CIDATA_MNT}"/nerdctl-full.tgz
13+
14+
mkdir -p /etc/bash_completion.d
15+
nerdctl completion bash >/etc/bash_completion.d/nerdctl
16+
# TODO: enable zsh completion too
1317
fi
1418

1519
if [ "${LIMA_CIDATA_CONTAINERD_SYSTEM}" = 1 ]; then

pkg/limayaml/defaults.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ import (
2020
)
2121

2222
func defaultContainerdArchives() []File {
23-
const nerdctlVersion = "0.13.0"
23+
const nerdctlVersion = "0.14.0"
2424
location := func(goarch string) string {
2525
return "https://github.com/containerd/nerdctl/releases/download/v" + nerdctlVersion + "/nerdctl-full-" + nerdctlVersion + "-linux-" + goarch + ".tar.gz"
2626
}
2727
return []File{
2828
{
2929
Location: location("amd64"),
3030
Arch: X8664,
31-
Digest: "sha256:ed2d3662fd2866875e107df20f7da6dd32fafa8fa3e8aa9b6b774af20af5ddaa",
31+
Digest: "sha256:3423cb589bb5058ff9ed55f6823adec1299fe2e576612fc6f706fe07eddd398b",
3232
},
3333
{
3434
Location: location("arm64"),
3535
Arch: AARCH64,
36-
Digest: "sha256:8a744638b01cd53c437a0d2a54c66f0ec4a918b75e93056393e7076bbf06a173",
36+
Digest: "sha256:32898576fa89392d1af8c21ff3854c0f54d2c66c0de87598be813f25051366e5",
3737
},
3838
}
3939
}

0 commit comments

Comments
 (0)