@@ -56,7 +56,7 @@ disk: null
56
56
57
57
# Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest
58
58
# "location" can use these template variables: {{.Home}}, {{.Dir}}, {{.Name}}, {{.UID}}, {{.User}}, and {{.Param.Key}}.
59
- # "mountPoint" can use these template variables: {{.Home}}, {{.Name}}, {{.UID}}, {{.User}}, and {{.Param.Key}}
59
+ # "mountPoint" can use these template variables: {{.Home}}, {{.Name}}, {{.Hostname}}, {{. UID}}, {{.User}}, and {{.Param.Key}}
60
60
# 🟢 Builtin default: [] (Mount nothing)
61
61
# 🔵 This file: Mount the home as read-only, /tmp/lima as writable
62
62
mounts :
@@ -205,7 +205,7 @@ containerd:
205
205
206
206
# Provisioning scripts need to be idempotent because they might be called
207
207
# multiple times, e.g. when the host VM is being restarted.
208
- # The scripts can use the following template variables: {{.Home}}, {{.UID}}, {{.User}}, and {{.Param.Key}}
208
+ # The scripts can use the following template variables: {{.Home}}, {{.Name}}, {{.Hostname}}, {{. UID}}, {{.User}}, and {{.Param.Key}}
209
209
# 🟢 Builtin default: []
210
210
# provision:
211
211
# # `system` is executed with root privileges
@@ -248,7 +248,7 @@ containerd:
248
248
249
249
# Probe scripts to check readiness.
250
250
# The scripts run in user mode. They must start with a '#!' line.
251
- # The scripts can use the following template variables: {{.Home}}, {{.UID}}, {{.User}}, and {{.Param.Key}}
251
+ # The scripts can use the following template variables: {{.Home}}, {{.Name}}, {{.Hostname}}, {{. UID}}, {{.User}}, and {{.Param.Key}}
252
252
# 🟢 Builtin default: []
253
253
# probes:
254
254
# # Only `readiness` probes are supported right now.
@@ -407,7 +407,7 @@ networks:
407
407
# - guestSocket: "/run/user/{{.UID}}/my.sock"
408
408
# hostSocket: mysocket
409
409
# # default: reverse: false
410
- # # "guestSocket" can include these template variables: {{.Home}}, {{.UID}}, {{.User}}, and {{.Param.Key}}.
410
+ # # "guestSocket" can include these template variables: {{.Home}}, {{.Name}}, {{.Hostname}}, {{. UID}}, {{.User}}, and {{.Param.Key}}.
411
411
# # "hostSocket" can include {{.Home}}, {{.Dir}}, {{.Name}}, {{.UID}}, {{.User}}, and {{.Param.Key}}.
412
412
# # "reverse" can only be used for unix sockets right now, not for tcp sockets.
413
413
# # Put sockets into "{{.Dir}}/sock" to avoid collision with Lima internal sockets!
@@ -427,7 +427,7 @@ networks:
427
427
# - guest: "/etc/myconfig.cfg"
428
428
# host: "{{.Dir}}/copied-from-guest/myconfig"
429
429
# # deleteOnStop: false
430
- # # "guest" can include these template variables: {{.Home}}, {{.UID}}, {{.User}}, and {{.Param.Key}}.
430
+ # # "guest" can include these template variables: {{.Home}}, {{.Name}}, {{.Hostname}}, {{. UID}}, {{.User}}, and {{.Param.Key}}.
431
431
# # "host" can include {{.Home}}, {{.Dir}}, {{.Name}}, {{.UID}}, {{.User}}, and {{.Param.Key}}.
432
432
# # "deleteOnStop" will delete the file from the host when the instance is stopped.
433
433
0 commit comments