Skip to content

Commit 7fd4d0b

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 <anders.f.bjorklund@gmail.com>
1 parent 5fd962e commit 7fd4d0b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

examples/default.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ os: null
2020
arch: null
2121

2222
# OpenStack-compatible disk image.
23-
# 🟢 Builtin default: null (must be specified)
23+
# 🟢 Builtin default: none (must be specified)
2424
# 🔵 This file: Ubuntu images
2525
images:
2626
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
@@ -50,7 +50,7 @@ memory: null
5050
disk: null
5151

5252
# Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest
53-
# 🟢 Builtin default: null (Mount nothing)
53+
# 🟢 Builtin default: [] (Mount nothing)
5454
# 🔵 This file: Mount the home as read-only, /tmp/lima as writable
5555
mounts:
5656
- location: "~"
@@ -111,7 +111,7 @@ mountInotify: null
111111
# instance, labeled by name. (e.g. if the disk is named "data", it will be labeled
112112
# "lima-data" inside the instance). The disk will be mounted inside the instance at
113113
# `/mnt/lima-${VOLUME}`.
114-
# 🟢 Builtin default: null
114+
# 🟢 Builtin default: []
115115
additionalDisks:
116116
# disks should either be a list of disk name strings, for example:
117117
# - "data"
@@ -194,7 +194,7 @@ containerd:
194194
# Provisioning scripts need to be idempotent because they might be called
195195
# multiple times, e.g. when the host VM is being restarted.
196196
# The scripts can use the following template variables: {{.Home}}, {{.UID}}, {{.User}}, and {{.Param.Key}}
197-
# 🟢 Builtin default: null
197+
# 🟢 Builtin default: []
198198
# provision:
199199
# # `system` is executed with root privileges
200200
# - mode: system
@@ -236,7 +236,7 @@ containerd:
236236

237237
# Probe scripts to check readiness.
238238
# The scripts can use the following template variables: {{.Home}}, {{.UID}}, {{.User}}, and {{.Param.Key}}
239-
# 🟢 Builtin default: null
239+
# 🟢 Builtin default: []
240240
# probes:
241241
# # Only `readiness` probes are supported right now.
242242
# - mode: readiness
@@ -323,7 +323,7 @@ video:
323323

324324
# The instance can get routable IP addresses from the vmnet framework using
325325
# https://github.com/lima-vm/socket_vmnet.
326-
# 🟢 Builtin default: null
326+
# 🟢 Builtin default: []
327327
networks:
328328
# Lima can manage daemons for networks defined in $LIMA_HOME/_config/networks.yaml
329329
# automatically. The socket_vmnet binary must be installed into
@@ -406,7 +406,7 @@ networks:
406406
# The same template variables as for listing instances can be used, for example {{.Dir}}.
407407
# You can view the complete list of variables using `limactl list --list-fields` command.
408408
# It also includes {{.HostOS}} and {{.HostArch}} vars, for the runtime GOOS and GOARCH.
409-
# 🟢 Builtin default: null
409+
# 🟢 Builtin default: ""
410410
# message: |
411411
# This will be shown to the user.
412412

@@ -415,7 +415,7 @@ networks:
415415
# to /etc/environment.
416416
# If you set any of "ftp_proxy", "http_proxy", "https_proxy", or "no_proxy", then
417417
# Lima will automatically set an uppercase variant to the same value as well.
418-
# 🟢 Builtin default: null
418+
# 🟢 Builtin default: {}
419419
# env:
420420
# KEY: value
421421

@@ -446,7 +446,7 @@ hostResolver:
446446
# Static names can be defined here as an alternative to adding them to the hosts /etc/hosts.
447447
# Values can be either other hostnames, or IP addresses. The host.lima.internal name is
448448
# predefined to specify the gateway address to the host.
449-
# 🟢 Builtin default: null
449+
# 🟢 Builtin default: {}
450450
hosts:
451451
# guest.name: 127.1.1.1
452452
# host.name: host.lima.internal
@@ -458,7 +458,7 @@ hostResolver:
458458
# that has an IPv4 address, to the list. In case this still doesn't work (e.g. VPN
459459
# setups), the servers can be specified here explicitly. If nameservers are specified
460460
# here, then the configuration from network preferences will be ignored.
461-
# 🟢 Builtin default: null
461+
# 🟢 Builtin default: []
462462
# dns:
463463
# - 1.1.1.1
464464
# - 1.0.0.1

0 commit comments

Comments
 (0)