Skip to content

Commit 395fb58

Browse files
committed
Don't mention null as the builtin default
The null is only used in the default.yaml as a placeholder When loaded into a string or array or map, it is "empty". Signed-off-by: Anders F Björklund <[email protected]>
1 parent b89e5b6 commit 395fb58

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

examples/default.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ os: null
3232
arch: null
3333

3434
# OpenStack-compatible disk image.
35-
# 🟢 Builtin default: null (must be specified)
35+
# 🟢 Builtin default: none (must be specified)
3636
# 🔵 This file: Ubuntu images
3737
images:
3838
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
@@ -74,7 +74,7 @@ disk: null
7474
# Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest
7575
# "location" can use these template variables: {{.Home}}, {{.Dir}}, {{.Name}}, {{.UID}}, {{.User}}, and {{.Param.Key}}.
7676
# "mountPoint" can use these template variables: {{.Home}}, {{.Name}}, {{.UID}}, {{.User}}, and {{.Param.Key}}
77-
# 🟢 Builtin default: null (Mount nothing)
77+
# 🟢 Builtin default: [] (Mount nothing)
7878
# 🔵 This file: Mount the home as read-only, /tmp/lima as writable
7979
mounts:
8080
- location: "~"
@@ -123,7 +123,7 @@ mounts:
123123

124124
# List of mount types not supported by the kernel of this distro.
125125
# Also used to resolve the default mount type when not explicitly specified.
126-
# 🟢 Builtin default: null
126+
# 🟢 Builtin default: []
127127
mountTypesUnsupported:
128128
# - "9p"
129129

@@ -140,7 +140,7 @@ mountInotify: null
140140
# instance, labeled by name. (e.g. if the disk is named "data", it will be labeled
141141
# "lima-data" inside the instance). The disk will be mounted inside the instance at
142142
# `/mnt/lima-${VOLUME}`.
143-
# 🟢 Builtin default: null
143+
# 🟢 Builtin default: []
144144
additionalDisks:
145145
# disks should either be a list of disk name strings, for example:
146146
# - "data"
@@ -223,7 +223,7 @@ containerd:
223223
# Provisioning scripts need to be idempotent because they might be called
224224
# multiple times, e.g. when the host VM is being restarted.
225225
# The scripts can use the following template variables: {{.Home}}, {{.UID}}, {{.User}}, and {{.Param.Key}}
226-
# 🟢 Builtin default: null
226+
# 🟢 Builtin default: []
227227
# provision:
228228
# # `system` is executed with root privileges
229229
# - mode: system
@@ -266,7 +266,7 @@ containerd:
266266
# Probe scripts to check readiness.
267267
# The scripts run in user mode. They must start with a '#!' line.
268268
# The scripts can use the following template variables: {{.Home}}, {{.UID}}, {{.User}}, and {{.Param.Key}}
269-
# 🟢 Builtin default: null
269+
# 🟢 Builtin default: []
270270
# probes:
271271
# # Only `readiness` probes are supported right now.
272272
# - mode: readiness
@@ -353,7 +353,7 @@ video:
353353

354354
# The instance can get routable IP addresses from the vmnet framework using
355355
# https://github.com/lima-vm/socket_vmnet.
356-
# 🟢 Builtin default: null
356+
# 🟢 Builtin default: []
357357
networks:
358358
# Lima can manage daemons for networks defined in $LIMA_HOME/_config/networks.yaml
359359
# automatically. The socket_vmnet binary must be installed into
@@ -436,7 +436,7 @@ networks:
436436
# The same template variables as for listing instances can be used, for example {{.Dir}}.
437437
# You can view the complete list of variables using `limactl list --list-fields` command.
438438
# It also includes {{.HostOS}} and {{.HostArch}} vars, for the runtime GOOS and GOARCH.
439-
# 🟢 Builtin default: null
439+
# 🟢 Builtin default: ""
440440
# message: |
441441
# This will be shown to the user.
442442

@@ -445,7 +445,7 @@ networks:
445445
# to /etc/environment.
446446
# If you set any of "ftp_proxy", "http_proxy", "https_proxy", or "no_proxy", then
447447
# Lima will automatically set an uppercase variant to the same value as well.
448-
# 🟢 Builtin default: null
448+
# 🟢 Builtin default: {}
449449
# env:
450450
# KEY: value
451451

@@ -481,7 +481,7 @@ hostResolver:
481481
# Static names can be defined here as an alternative to adding them to the hosts /etc/hosts.
482482
# Values can be either other hostnames, or IP addresses. The host.lima.internal name is
483483
# predefined to specify the gateway address to the host.
484-
# 🟢 Builtin default: null
484+
# 🟢 Builtin default: {}
485485
hosts:
486486
# guest.name: 127.1.1.1
487487
# host.name: host.lima.internal
@@ -493,7 +493,7 @@ hostResolver:
493493
# that has an IPv4 address, to the list. In case this still doesn't work (e.g. VPN
494494
# setups), the servers can be specified here explicitly. If nameservers are specified
495495
# here, then the configuration from network preferences will be ignored.
496-
# 🟢 Builtin default: null
496+
# 🟢 Builtin default: []
497497
# dns:
498498
# - 1.1.1.1
499499
# - 1.0.0.1

0 commit comments

Comments
 (0)