mirror of
https://github.com/lima-vm/lima.git
synced 2026-10-28 11:44:35 +08:00
11 lines
323 B
Bash
Executable File
11 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
# Environment Variables
|
|
# LIMA_INSTANCE: Specifies the name of the Lima instance to use. Default is "default".
|
|
|
|
: "${LIMA_INSTANCE:=default}"
|
|
|
|
# Use --preserve-env to pass through environment variables from host machine into guest instance
|
|
exec limactl shell --preserve-env "$LIMA_INSTANCE" nerdctl "$@"
|