Skip to content

Commit

Permalink
Merge pull request #2521 from norio-nomura/ensure-rosetta-is-mounted-…
Browse files Browse the repository at this point in the history
…earlier

`cidata`: modify `user-data` to mount rosetta before `systemd-binfmt.service` starts.
  • Loading branch information
AkihiroSuda authored Jul 30, 2024
2 parents 7814796 + 0a91fa6 commit 54e9244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cidata/cidata.TEMPLATE.d/user-data
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package_reboot_if_required: true
{{- if or .RosettaEnabled (or (eq .MountType "9p") (eq .MountType "virtiofs")) }}
mounts:
{{- if .RosettaEnabled }}{{/* Mount the rosetta volume before systemd-binfmt.service(8) starts */}}
- [vz-rosetta, /mnt/lima-rosetta, virtiofs]
- [vz-rosetta, /mnt/lima-rosetta, virtiofs, defaults, "0", "0"]
{{- end }}
{{- if .Mounts }}
{{- range $m := $.Mounts}}
Expand Down

0 comments on commit 54e9244

Please sign in to comment.