Skip to content

Commit b3adbde

Browse files
feat: update lima-run-script to use pipe for script execution in Lima VMs
1 parent 1c880df commit b3adbde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

makefiles/00-lib.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ bash <(curl -fsSL $(K3S_LAB_RAW)/$(1)) $(2)
6464
endef
6565

6666
# Run a script inside a Lima VM by curling from GitHub.
67+
# Uses a pipe instead of process substitution — Lima VMs lack /dev/fd support.
6768
define lima-run-script
68-
bash <(curl -fsSL '$(K3S_LAB_RAW)/$(1)')
69+
bash -c 'curl -fsSL "$(K3S_LAB_RAW)/$(1)" | bash'
6970
endef
7071

7172
endif

0 commit comments

Comments
 (0)