Skip to content

Commit 00d5b9f

Browse files
committed
templates: default: move several properties to the (further) advanced section
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 8137d3a commit 00d5b9f

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

templates/default.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,12 @@
55
# Default values in this YAML file are specified by `null` instead of Lima's "builtin default" values,
66
# so they can be overridden by the $LIMA_HOME/_config/default.yaml mechanism documented at the end of this file.
77

8-
# A template should specify the minimum Lima version required to parse this template correctly.
9-
# It should not be set if the minimum version is less than 1.0.0
10-
# 🟢 Builtin default: not set
11-
minimumLimaVersion: null
12-
138
# VM type: "qemu", "vz" (on macOS 13 and later), or "default".
149
# The vmType can be specified only on creating the instance.
1510
# The vmType of existing instances cannot be changed.
1611
# 🟢 Builtin default: "vz" (on macOS 13.5 and later), "qemu" (on others)
1712
vmType: null
1813

19-
vmOpts:
20-
qemu:
21-
# Minimum version of QEMU required to create an instance of this template.
22-
# Will be ignored if the vmType is not "qemu"
23-
# 🟢 Builtin default: not set
24-
minimumVersion: null
25-
26-
# OS: "Linux".
27-
# 🟢 Builtin default: "Linux"
28-
os: null
29-
3014
# Arch: "default", "x86_64", "aarch64".
3115
# 🟢 Builtin default: "default" (corresponds to the host architecture)
3216
arch: null
@@ -135,6 +119,10 @@ mountType: null
135119
# 🟢 Builtin default: Disabled by default
136120
mountInotify: null
137121

122+
# ===================================================================== #
123+
# ADVANCED CONFIGURATION
124+
# ===================================================================== #
125+
138126
# Lima disks to attach to the instance. The disks will be accessible from inside the
139127
# instance, labeled by name. (e.g. if the disk is named "data", it will be labeled
140128
# "lima-data" inside the instance). The disk will be mounted inside the instance at
@@ -173,10 +161,6 @@ ssh:
173161
# 🟢 Builtin default: false
174162
forwardX11Trusted: null
175163

176-
# ===================================================================== #
177-
# ADVANCED CONFIGURATION
178-
# ===================================================================== #
179-
180164
caCerts:
181165
# If set to `true`, this will remove all the default trusted CA certificates that
182166
# are normally shipped with the OS.
@@ -285,6 +269,22 @@ containerd:
285269
# FURTHER ADVANCED CONFIGURATION
286270
# ===================================================================== #
287271

272+
# A template should specify the minimum Lima version required to parse this template correctly.
273+
# It should not be set if the minimum version is less than 1.0.0
274+
# 🟢 Builtin default: not set
275+
minimumLimaVersion: null
276+
277+
vmOpts:
278+
qemu:
279+
# Minimum version of QEMU required to create an instance of this template.
280+
# Will be ignored if the vmType is not "qemu"
281+
# 🟢 Builtin default: not set
282+
minimumVersion: null
283+
284+
# OS: "Linux".
285+
# 🟢 Builtin default: "Linux"
286+
os: null
287+
288288
# Specify desired QEMU CPU type for each arch.
289289
# You can see what options are available for host emulation with: `qemu-system-$(arch) -cpu help`.
290290
# Setting of instructions is supported like this: "qemu64,+ssse3".

0 commit comments

Comments
 (0)