Skip to content

Commit 6dcecc5

Browse files
committed
Use vz display driver since Lima now defaults to VZ
Also drop the legacyBIOS setting that is no longer needed. Signed-off-by: Jan Dubois <jan.dubois@suse.com>
1 parent da36852 commit 6dcecc5

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

lima.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
set -eu
33

44
case "$(uname)" in
5-
Darwin) display=cocoa;;
6-
Linux) display=gtk;;
5+
Darwin) DISPLAY=default;;
6+
Linux) DISPLAY=gtk;;
77
esac
88
cat <<EOF >"${EDITION}.yaml"
99
arch: "${ARCH}"
@@ -17,10 +17,8 @@ mounts:
1717
writable: true
1818
ssh:
1919
localPort: 40022
20-
firmware:
21-
legacyBIOS: true
2220
video:
23-
display: $display
21+
display: "${DISPLAY}"
2422
containerd:
2523
system: false
2624
user: false

0 commit comments

Comments
 (0)