File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
# $ export DOCKER_HOST=$(limactl list docker-rootful --format 'unix://{{.Dir}}/sock/docker.sock')
7
7
# $ docker ...
8
8
9
- # This template requires Lima v0.8 .0 or later
9
+ # This template requires Lima v0.20 .0 or later
10
10
images :
11
11
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
12
12
- location : " https://cloud-images.ubuntu.com/releases/22.04/release-20231211/ubuntu-22.04-server-cloudimg-amd64.img"
@@ -49,7 +49,7 @@ provision:
49
49
# Alternatively we could just add the user to the "docker" group, but that requires restarting the user session
50
50
cat <<-EOF >/etc/systemd/system/docker.socket.d/override.conf
51
51
[Socket]
52
- SocketUser=${LIMA_CIDATA_USER }
52
+ SocketUser={{.User} }
53
53
EOF
54
54
fi
55
55
export DEBIAN_FRONTEND=noninteractive
Original file line number Diff line number Diff line change 1
1
# A template to run ubuntu using display: vnc
2
- # This template requires Lima v0.15 .0 or later.
2
+ # This template requires Lima v0.20 .0 or later.
3
3
images :
4
4
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
5
5
- location : " https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-amd64.img"
@@ -33,7 +33,7 @@ provision:
33
33
export DEBIAN_FRONTEND=noninteractive
34
34
# x-terminal-emulator x-session-manager x-window-manager
35
35
apt-get install -y xorg xterm openbox hsetroot tint2 slim
36
- printf "auto_login yes\ndefault_user ${LIMA_CIDATA_USER }\n" >>/etc/slim.conf
36
+ printf "auto_login yes\ndefault_user {{.User} }\n" >>/etc/slim.conf
37
37
# configure some nice lima green, set up panel and apps
38
38
printf "hsetroot -solid \"#32CD32\" &\ntint2 &\n" >>/etc/xdg/openbox/autostart
39
39
sed -i 's/Clearlooks/Clearlooks-Olive/' /etc/xdg/openbox/rc.xml # go for green
Original file line number Diff line number Diff line change 10
10
# $ export DOCKER_HOST=$(limactl list podman-rootful --format 'unix://{{.Dir}}/sock/podman.sock')
11
11
# $ docker ...
12
12
13
- # This template requires Lima v0.8 .0 or later
13
+ # This template requires Lima v0.20 .0 or later
14
14
images :
15
15
- location : " https://download.fedoraproject.org/pub/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-Base-39-1.5.x86_64.qcow2"
16
16
arch : " x86_64"
@@ -36,12 +36,12 @@ provision:
36
36
mkdir -p /etc/systemd/system/podman.socket.d
37
37
cat <<-EOF >/etc/systemd/system/podman.socket.d/override.conf
38
38
[Socket]
39
- SocketUser=${LIMA_CIDATA_USER }
39
+ SocketUser={{.User} }
40
40
EOF
41
41
fi
42
42
if [ ! -e /etc/tmpfiles.d/podman.conf ]; then
43
43
mkdir -p /etc/tmpfiles.d
44
- echo "d /run/podman 0700 ${LIMA_CIDATA_USER } -" > /etc/tmpfiles.d/podman.conf
44
+ echo "d /run/podman 0700 {{.User} } -" > /etc/tmpfiles.d/podman.conf
45
45
fi
46
46
dnf -y install podman
47
47
- mode : system
You can’t perform that action at this time.
0 commit comments