Skip to content

Commit c0338b5

Browse files
committed
fix indentation
Signed-off-by: Alaa ElSaman <[email protected]>
1 parent a582ac2 commit c0338b5

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

templates/podman-ubuntu-lts.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,38 +13,38 @@
1313
minimumLimaVersion: 1.1.0
1414

1515
base:
16-
- template://_images/ubuntu-lts
17-
- template://_default/mounts
16+
- template://_images/ubuntu-lts
17+
- template://_default/mounts
1818

1919
containerd:
2020
system: false
2121
user: false
2222
provision:
23-
- mode: system
24-
script: |
25-
#!/bin/bash
26-
set -eux -o pipefail
27-
command -v podman >/dev/null 2>&1 && test -e /etc/lima-podman && exit 0
28-
export DEBIAN_FRONTEND=noninteractive
29-
apt-get update
30-
apt-get install -y podman && touch /etc/lima-podman
31-
- mode: user
32-
script: |
33-
#!/bin/bash
34-
set -eux -o pipefail
35-
systemctl --user enable --now podman.socket
23+
- mode: system
24+
script: |
25+
#!/bin/bash
26+
set -eux -o pipefail
27+
command -v podman >/dev/null 2>&1 && test -e /etc/lima-podman && exit 0
28+
export DEBIAN_FRONTEND=noninteractive
29+
apt-get update
30+
apt-get install -y podman && touch /etc/lima-podman
31+
- mode: user
32+
script: |
33+
#!/bin/bash
34+
set -eux -o pipefail
35+
systemctl --user enable --now podman.socket
3636
probes:
37-
- script: |
38-
#!/bin/bash
39-
set -eux -o pipefail
40-
if ! timeout 30s bash -c "until command -v podman >/dev/null 2>&1; do sleep 3; done"; then
41-
echo >&2 "podman is not installed yet"
42-
exit 1
43-
fi
44-
hint: See "/var/log/cloud-init-output.log" in the guest
37+
- script: |
38+
#!/bin/bash
39+
set -eux -o pipefail
40+
if ! timeout 30s bash -c "until command -v podman >/dev/null 2>&1; do sleep 3; done"; then
41+
echo >&2 "podman is not installed yet"
42+
exit 1
43+
fi
44+
hint: See "/var/log/cloud-init-output.log" in the guest
4545
portForwards:
46-
- guestSocket: "/run/user/{{.UID}}/podman/podman.sock"
47-
hostSocket: "{{.Dir}}/sock/podman.sock"
46+
- guestSocket: '/run/user/{{.UID}}/podman/podman.sock'
47+
hostSocket: '{{.Dir}}/sock/podman.sock'
4848
message: |
4949
To run `podman` on the host (assumes podman-remote is installed), run the following commands:
5050
------

0 commit comments

Comments
 (0)