mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 21:36:40 -10:00
fix(lima): limactl shell never starts a stopped VM past devvm's checks
In a terminal, limactl shell of a stopped VM asks whether to start it, yes by default (Lima 2.3.0, reproduced under a pty), and that start is Lima's own: no proxy or sandbox-exec profile (no QEMU wrapper on Linux), no pins, and no folderChanged, so the project folder's mount, by path on Linux's 9p, follows a link put at the path or makes a folder that's gone again. devvm opens a shell (Shell) and runs an agent's login (Exec) on the terminal after bringUp, so a guest that powered itself off between the two got that question. This is the start path the self-check's restart was suspected of: that restart goes through startOnce, but limactl shell didn't.
The limactl builder, which every limactl command of devvm's goes through, now gives limactl shell --start=false, which Lima has had since 2.0.0-rc.0 (devvm's oldest is 2.2): a stopped VM's shell or command fails at once ("instance is stopped"), without asking, and devvm's next launch starts it with every check. devvm limactl, which passes its arguments on as given, is unchanged.
TestShellNeverStarts checks Exec's, Shell's and the builder's limactl shell, and fails without the change; the lima package's and the CLI scripts' expected limactl shell calls name the flag, their negative patterns too, so none turns vacuous. Docs: How it works' Lima page's A stopped VM's shell; the changelog's Security hardening gets the line, its summary widened to cover both of its lines, and the release page its section.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
33 files changed
+123
-78
No files matched your search
Vendored
+3
-3
@@ -25,8 +25,8 @@ cmp $STUB_DIR/create-template $DEVVM_REPO/assets/base.yaml
|
||||
! exists $XDG_DATA_HOME/devvm/assets
|
||||
stdout '^limactl edit --tty=false devvm-img-[0-9a-f]{12} .*--set \.portForwards = \[\{"guestIP":"127\.0\.0\.1"'
|
||||
stdout '^limactl start --tty=false devvm-img-[0-9a-f]{12}$'
|
||||
stdout '^limactl shell devvm-img-[0-9a-f]{12} bash -s$'
|
||||
stdout '^limactl shell --workdir / devvm-img-[0-9a-f]{12} sync$'
|
||||
stdout '^limactl shell --start=false devvm-img-[0-9a-f]{12} bash -s$'
|
||||
stdout '^limactl shell --start=false --workdir / devvm-img-[0-9a-f]{12} sync$'
|
||||
stdout '^limactl stop devvm-img-[0-9a-f]{12}$'
|
||||
# Its ssh port is devvm's, on every host, given up once it has started.
|
||||
stdout '^limactl edit --tty=false devvm-img-[0-9a-f]{12} --set \.ssh\.localPort=[1-9][0-9]+ '
|
||||
@@ -128,7 +128,7 @@ stderr '^devvm: tool_not_layer tool=node$'
|
||||
exec sh -c ': > "$STUB_DIR/shell-fails"'
|
||||
! exec devvm build foo+bar
|
||||
stderr '^--- log_end file=.*\.log$'
|
||||
stderr '^\+ limactl shell --workdir / devvm-img-[0-9a-f]{12} sudo bash -s -- lists$'
|
||||
stderr '^\+ limactl shell --start=false --workdir / devvm-img-[0-9a-f]{12} sudo bash -s -- lists$'
|
||||
stderr '^devvm: script_failed script=apt\.sh vm=devvm-img-[0-9a-f]{12}$'
|
||||
! stdout unfinished_image
|
||||
stub_calls
|
||||
|
||||
Vendored
+1
-1
@@ -61,7 +61,7 @@ stub_calls
|
||||
stdout '^limactl clone --tty=false devvm-img-[0-9a-f]{12} devvm-web-[0-9a-f]{14} --mount-none --set \.mounts = \[\{"location":"[^"]*/data/devvm/tools","mountPoint":"/mnt/devvm-tools","writable":false\}\] '
|
||||
! stdout 'git-receive-pack'
|
||||
! stdout elsewhere
|
||||
stdout '^limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
! stdout chflags
|
||||
stub_reset
|
||||
exec devvm clone fetch
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ stub_reset
|
||||
exec devvm
|
||||
stdout '^==> using_parent_vm dir=/\S*/ws vm=devvm-ws-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/ws/frontend devvm-ws-[0-9a-f]{14}$'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/ws/frontend devvm-ws-[0-9a-f]{14}$'
|
||||
! exec devvm host --here
|
||||
stderr '^devvm: no_vm dir=/\S*/ws/frontend$'
|
||||
cd ../empty
|
||||
|
||||
Vendored
+5
-5
@@ -8,31 +8,31 @@ project web
|
||||
env COLORTERM=truecolor
|
||||
exec devvm --network open --no-git-protect --agents codex
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14} sh -c export COLORTERM=''truecolor'' && exec "\$SHELL" --login\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14} sh -c export COLORTERM=''truecolor'' && exec "\$SHELL" --login\n\z'
|
||||
|
||||
# A shell in the running VM.
|
||||
env COLORTERM=24bit
|
||||
stub_reset
|
||||
exec devvm
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14} sh -c export COLORTERM=''24bit'' && exec "\$SHELL" --login\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14} sh -c export COLORTERM=''24bit'' && exec "\$SHELL" --login\n\z'
|
||||
|
||||
# Any other value, or none: nothing.
|
||||
env COLORTERM='truecolor'';touch /tmp/p'
|
||||
stub_reset
|
||||
exec devvm
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
env COLORTERM=256color
|
||||
stub_reset
|
||||
exec devvm
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
env COLORTERM=
|
||||
stub_reset
|
||||
exec devvm
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
|
||||
# An agent's login, with truecolor, then with another value. (The stub
|
||||
# saves no login, so devvm says so.)
|
||||
|
||||
Vendored
+3
-3
@@ -74,8 +74,8 @@ stdout '^==> creating_from image=docker\+extra vm=devvm-web-[0-9a-f]{14}$'
|
||||
# the shell.
|
||||
stdout '^==> running_script script=onCreateCommand what=devvm-web-[0-9a-f]{14}\n==> running_script script=postCreateCommand a what=devvm-web-[0-9a-f]{14}\n==> running_script script=postCreateCommand b what=devvm-web-[0-9a-f]{14}\n==> running_script script=postStartCommand what=devvm-web-[0-9a-f]{14}\n'
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir / devvm-web-[0-9a-f]{14} sh -c cd ''/\S*/web'' && exec ''bash'' ''-lc'' ''exec "\$@"'' ''devvm'' ''sh'' ''-c'' ''echo made > ~/made''\n'
|
||||
stdout '^limactl shell --workdir / devvm-web-[0-9a-f]{14} sh -c cd ''/\S*/web'' && exec ''bash'' ''-lc'' ''exec "\$@"'' ''devvm'' ''touch'' ''b''\nlimactl shell --workdir / devvm-web-[0-9a-f]{14} sh -c cd ''/\S*/web'' && exec ''bash'' ''-lc'' ''exec "\$@"'' ''devvm'' ''sh'' ''-c'' ''echo started >> ~/started''\n(limactl list --json\n)*limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir / devvm-web-[0-9a-f]{14} sh -c cd ''/\S*/web'' && exec ''bash'' ''-lc'' ''exec "\$@"'' ''devvm'' ''sh'' ''-c'' ''echo made > ~/made''\n'
|
||||
stdout '^limactl shell --start=false --workdir / devvm-web-[0-9a-f]{14} sh -c cd ''/\S*/web'' && exec ''bash'' ''-lc'' ''exec "\$@"'' ''devvm'' ''touch'' ''b''\nlimactl shell --start=false --workdir / devvm-web-[0-9a-f]{14} sh -c cd ''/\S*/web'' && exec ''bash'' ''-lc'' ''exec "\$@"'' ''devvm'' ''sh'' ''-c'' ''echo started >> ~/started''\n(limactl list --json\n)*limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
! stdout pwned
|
||||
# Its variables are in its environment file, before devvm's own.
|
||||
exec tar -xOf $STUB_DIR/sync.tar env
|
||||
@@ -144,7 +144,7 @@ stderr '^devvm: devcontainer_command_failed command=postCreateCommand a vm=devvm
|
||||
! stdout 'running_script script=postCreateCommand b'
|
||||
stdout '^==> running_script script=postStartCommand what=devvm-fail-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/fail devvm-fail-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/fail devvm-fail-[0-9a-f]{14}\n\z'
|
||||
rm $STUB_DIR/shell-fails-on
|
||||
|
||||
# --no-devcontainer: the file isn't read (this one would be refused), and
|
||||
|
||||
Vendored
+3
-3
@@ -15,8 +15,8 @@ exec devvm
|
||||
[linux] stderr '\Adevvm: git_unprotected vm=devvm-web-[0-9a-f]{14}\n\z'
|
||||
stub_calls
|
||||
! stdout 'limactl (start|stop|clone|create|edit|delete)'
|
||||
stdout '^limactl shell --workdir / devvm-web-[0-9a-f]{14} sh -c .*tar -xf - '
|
||||
stdout '^limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir / devvm-web-[0-9a-f]{14} sh -c .*tar -xf - '
|
||||
stdout '^limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
exec grep -c '^devvm-web-' $WEB_dir/run/known_hosts
|
||||
stdout '^1$'
|
||||
|
||||
@@ -66,7 +66,7 @@ exec devvm restart
|
||||
stdout '^==> starting what=devvm-web-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout '^limactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n'
|
||||
stdout '^limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
|
||||
# --tools, --agents and --layers change nothing on a VM that exists: it
|
||||
# opens as it is, warning that devvm tools changes its shared tools and
|
||||
|
||||
Vendored
+1
-1
@@ -165,7 +165,7 @@ stdout '^limactl edit --tty=false devvm-app-[0-9a-f]{14} --set \.ssh\.localPort=
|
||||
! stdout '(?s)limactl edit .*limactl edit'
|
||||
! stdout 'limactl (create|clone|delete)'
|
||||
[darwin] stdout '^chflags -R -P uchg \S*/home/src/app/\.git/config$'
|
||||
stdout '^limactl shell --workdir \S*/home/src/app devvm-app-[0-9a-f]{14}$'
|
||||
stdout '^limactl shell --start=false --workdir \S*/home/src/app devvm-app-[0-9a-f]{14}$'
|
||||
|
||||
# The launch kept every field 0.1.0 wrote, but the start it records and
|
||||
# its ssh port, now one of the sandbox's list.
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ stdout '^==> starting what=devvm-app-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout '^limactl edit --tty=false devvm-app-[0-9a-f]{14} --set \.mounts = \[\{"location":"\S*/app","writable":true,"9p":\{"cache":"none"\}\},'
|
||||
! stdout '(?s)limactl edit --tty=false devvm-app.*limactl edit --tty=false devvm-app'
|
||||
stdout '^limactl start --tty=false devvm-app-[0-9a-f]{14}\n(.*\n)*limactl shell --workdir / devvm-app-[0-9a-f]{14} sudo sh -c umount ''\S*/app'' \|\| exit 3; mount '
|
||||
stdout '^limactl start --tty=false devvm-app-[0-9a-f]{14}\n(.*\n)*limactl shell --start=false --workdir / devvm-app-[0-9a-f]{14} sudo sh -c umount ''\S*/app'' \|\| exit 3; mount '
|
||||
exec devvm mount-cache --json
|
||||
stdout '\A{\n "version": 1,\n "mode": "none",\n "chosen": true\n}\n\z'
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ stdout '^==> starting what=devvm-app-[0-9a-f]{14}$'
|
||||
! stderr 'unreadable|corrupt|layout_|moved|replaced|refused|failed|other_folder|folder_changed'
|
||||
stub_calls
|
||||
stdout '^limactl start --tty=false devvm-app-[0-9a-f]{14}$'
|
||||
stdout '^limactl shell --workdir \S*/home/src/app devvm-app-[0-9a-f]{14}$'
|
||||
stdout '^limactl shell --start=false --workdir \S*/home/src/app devvm-app-[0-9a-f]{14}$'
|
||||
vm_state $APP_dir/vm.json
|
||||
stdout '^folder='$FOLDER_ID'$'
|
||||
stdout '^folder_volume=uuid:EC5E5014-21A3-4154-ACE8-0C8C1C254852:[0-9]+:[0-9]+\.[0-9]+$'
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ exec devvm
|
||||
stdout '^==> starting what='$APP'$'
|
||||
! stderr 'unreadable|corrupt|refused|failed|folder_changed|other_folder'
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir \S*/home/src/app-moved '$APP'$'
|
||||
stdout '^limactl shell --start=false --workdir \S*/home/src/app-moved '$APP'$'
|
||||
exec devvm stop
|
||||
|
||||
-- reasons.sh --
|
||||
|
||||
Vendored
+3
-3
@@ -43,10 +43,10 @@ stdout '^limactl start --tty=false devvm-oci-build$'
|
||||
# With HTTPS_PROXY set, the build goes through a proxy of devvm's, which
|
||||
# alone has the host's proxy settings: the script reads that proxy's
|
||||
# address on its input first, then runs with its arguments.
|
||||
stdout '^limactl shell --workdir / devvm-oci-build sudo bash -s -- /\S*/tmp/devvm-oci\.[0-9]+/oci/build\.sh /\S*/tmp/devvm-oci\.[0-9]+/oci /\S*/tmp/devvm-oci\.[0-9]+/vm node:24@sha256:a{64} node:24@sha256:a{64} \S+ [0-9]+ /home/\S+\.guest 20G$'
|
||||
stdout '^limactl shell --start=false --workdir / devvm-oci-build sudo bash -s -- /\S*/tmp/devvm-oci\.[0-9]+/oci/build\.sh /\S*/tmp/devvm-oci\.[0-9]+/oci /\S*/tmp/devvm-oci\.[0-9]+/vm node:24@sha256:a{64} node:24@sha256:a{64} \S+ [0-9]+ /home/\S+\.guest 20G$'
|
||||
stdout '^limactl delete -f devvm-oci-build\nlimactl create --tty=false --mount-none --name=devvm-img-[0-9a-f]{12} --set \.images = \[\{"location":"/\S*/tmp/devvm-oci\.[0-9]+/vm/disk\.raw","arch":"(aarch64|x86_64)","kernel":\{"location":"/\S*/tmp/devvm-oci\.[0-9]+/vm/kernel","cmdline":"root=/dev/vda rw console=hvc0"\},"initrd":\{"location":"/\S*/tmp/devvm-oci\.[0-9]+/vm/initrd"\}\}\] --cpus=4 --memory=8 --disk=100 -$'
|
||||
cmp $STUB_DIR/create-template $DEVVM_REPO/assets/base.yaml
|
||||
stdout '^limactl shell devvm-img-[0-9a-f]{12} bash -s$'
|
||||
stdout '^limactl shell --start=false devvm-img-[0-9a-f]{12} bash -s$'
|
||||
exec sh -c 'ls "$TMPDIR"'
|
||||
! stdout .
|
||||
# The builds' proxies are gone, with their files.
|
||||
@@ -127,7 +127,7 @@ stub_calls
|
||||
stdout '^docker image inspect --format \{\{\.Id\}\} myapp:dev$'
|
||||
stdout '^docker info$'
|
||||
stdout '^docker save -o /\S*/tmp/devvm-oci\.[0-9]+/vm/image\.tar myapp:dev$'
|
||||
stdout '^limactl shell --workdir / devvm-oci-build sudo bash -s -- /\S*/tmp/devvm-oci\.[0-9]+/oci/build\.sh /\S*/tmp/devvm-oci\.[0-9]+/oci /\S*/tmp/devvm-oci\.[0-9]+/vm - myapp:dev '
|
||||
stdout '^limactl shell --start=false --workdir / devvm-oci-build sudo bash -s -- /\S*/tmp/devvm-oci\.[0-9]+/oci/build\.sh /\S*/tmp/devvm-oci\.[0-9]+/oci /\S*/tmp/devvm-oci\.[0-9]+/vm - myapp:dev '
|
||||
exec sh -c 'ls -t "$XDG_DATA_HOME"/devvm/logs/runs/*.log | head -1 | xargs cat'
|
||||
stdout '^# \[1/15\] exporting_docker from=myapp:dev$'
|
||||
stdout '^# \[15/15\] stopping vm=devvm-img-'
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ stdout '^ssh_host_info dir=/\S*/web host=devvm-web$'
|
||||
stub_calls
|
||||
stdout '^limactl start --tty=false devvm-web-[0-9a-f]{14}$'
|
||||
stdout 'tar -xf'
|
||||
! stdout 'limactl shell --workdir /\S*/web devvm-web'
|
||||
! stdout 'limactl shell --start=false --workdir /\S*/web devvm-web'
|
||||
catg $DATA/ssh_config
|
||||
stdout '^Host devvm-web devvm-web-[0-9a-f]{14}$'
|
||||
! exists $HOME/.ssh
|
||||
|
||||
Vendored
+1
-1
@@ -64,7 +64,7 @@ stdout '==> remade image=docker vm=devvm-web-[0-9a-f]{14}$'
|
||||
stdout '^==> building_image image=docker '
|
||||
stub_calls
|
||||
stdout 'exec ''bash'' ''-c'' ''if IFS= read -r n .*\n(.*\n)*.*tar -czf - --one-file-system.*\n(.*\n)*limactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl rename --tty=false devvm-web-[0-9a-f]{14} devvm-[0-9a-f]{14}-old\n'
|
||||
stdout 'limactl rename --tty=false devvm-web-[0-9a-f]{14} devvm-[0-9a-f]{14}-old\n(.*\n)*limactl clone --tty=false devvm-img-[0-9a-f]+ devvm-web-[0-9a-f]{14} .*\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*.*tar -xzf - --skip-old-files.*\n(.*\n)*limactl delete -f devvm-[0-9a-f]{14}-old\n(.*\n)*limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
stdout 'limactl rename --tty=false devvm-web-[0-9a-f]{14} devvm-[0-9a-f]{14}-old\n(.*\n)*limactl clone --tty=false devvm-img-[0-9a-f]+ devvm-web-[0-9a-f]{14} .*\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*.*tar -xzf - --skip-old-files.*\n(.*\n)*limactl delete -f devvm-[0-9a-f]{14}-old\n(.*\n)*limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
vm_state $WEB_dir/vm.json
|
||||
stdout '^image=docker$'
|
||||
stdout '^ports.forward=3000,5173$'
|
||||
|
||||
Vendored
+1
-1
@@ -64,7 +64,7 @@ stdout '==> saving_home vm=devvm-web-[0-9a-f]{14}$'
|
||||
stdout '==> creating_from image=docker\+foo vm=devvm-web-[0-9a-f]{14}$'
|
||||
stdout '==> remade image=docker\+foo vm=devvm-web-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout 'limactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl rename --tty=false devvm-web-[0-9a-f]{14} devvm-[0-9a-f]{14}-old\n(.*\n)*limactl clone --tty=false devvm-img-[0-9a-f]+ devvm-web-[0-9a-f]{14} .*\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*.*tar -xzf - --skip-old-files.*\n(.*\n)*limactl delete -f devvm-[0-9a-f]{14}-old\n(.*\n)*limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
stdout 'limactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl rename --tty=false devvm-web-[0-9a-f]{14} devvm-[0-9a-f]{14}-old\n(.*\n)*limactl clone --tty=false devvm-img-[0-9a-f]+ devvm-web-[0-9a-f]{14} .*\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*.*tar -xzf - --skip-old-files.*\n(.*\n)*limactl delete -f devvm-[0-9a-f]{14}-old\n(.*\n)*limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
vm_state $WEB_dir/vm.json
|
||||
stdout '^image=docker\+foo$'
|
||||
stdout '^ports.forward=3000$'
|
||||
|
||||
Vendored
+6
-6
@@ -96,8 +96,8 @@ exec devvm
|
||||
stub_calls
|
||||
stdout '^limactl edit --tty=false devvm-web-[0-9a-f]{14} --set \.mounts = \[\{"location":"\S*/web","writable":true,"9p":\{"cache":"none"\}\},'
|
||||
! stdout '(?s)limactl edit --tty=false devvm-web.*limactl edit --tty=false devvm-web'
|
||||
stdout '^limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*limactl shell --workdir / devvm-web-[0-9a-f]{14} sudo sh -c umount ''\S*/web'' \|\| exit 3; mount '
|
||||
stdout '^limactl shell --workdir / devvm-web-[0-9a-f]{14} sh -c if mountpoint -q ''\S*/web''; then P=''\S*/web'' awk .* /proc/self/mountinfo; '
|
||||
stdout '^limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*limactl shell --start=false --workdir / devvm-web-[0-9a-f]{14} sudo sh -c umount ''\S*/web'' \|\| exit 3; mount '
|
||||
stdout '^limactl shell --start=false --workdir / devvm-web-[0-9a-f]{14} sh -c if mountpoint -q ''\S*/web''; then P=''\S*/web'' awk .* /proc/self/mountinfo; '
|
||||
exec devvm mount-cache
|
||||
stdout '\Anone\n\z'
|
||||
! stderr .
|
||||
@@ -120,7 +120,7 @@ stub_reset
|
||||
! exec devvm
|
||||
stderr '^devvm: mount_cache_unmounted vm=devvm-web-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
! stdout '^limactl shell --workdir \S*/web devvm-web'
|
||||
! stdout '^limactl shell --start=false --workdir \S*/web devvm-web'
|
||||
stdout '(?s)sudo sh -c umount .*\nlimactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*limactl stop devvm-web-[0-9a-f]{14}\n'
|
||||
! stdout '(?s)sudo sh -c umount .*sudo sh -c umount '
|
||||
! stdout '(?s)(limactl start --tty=false devvm-web.*){3}'
|
||||
@@ -144,7 +144,7 @@ exec devvm
|
||||
stderr -count=1 '^devvm: policy_not_rule file=\S*/policy line=\d+ rule=example\.com:x$'
|
||||
exec sh -c 'grep -v "example.com:x" "$CFG/policy" > "$WORK/p"; cat "$WORK/p" > "$CFG/policy"'
|
||||
stub_calls
|
||||
stdout '(?s)sudo sh -c umount .*\nlimactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*limactl shell --workdir \S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
stdout '(?s)sudo sh -c umount .*\nlimactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*limactl shell --start=false --workdir \S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
! stdout '(?s)sudo sh -c umount .*sudo sh -c umount '
|
||||
exec sh -c 'cat "$DATA"/logs/runs/*.log'
|
||||
stdout 'devvm: devvm-web-[0-9a-f]{14}''s project folder after its remount: it isn''t mounted; restarting the VM$'
|
||||
@@ -162,7 +162,7 @@ stub_reset
|
||||
! exec devvm
|
||||
stderr '^devvm: project_unmounted vm=devvm-web-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
! stdout '^limactl shell --workdir \S*/web devvm-web'
|
||||
! stdout '^limactl shell --start=false --workdir \S*/web devvm-web'
|
||||
rm $STUB_DIR/mount-unmounted
|
||||
|
||||
# A stored mmap, as a build of devvm before none alone wrote, is none
|
||||
@@ -203,7 +203,7 @@ stderr '^devvm: git_strict_converted vm=devvm-app-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout '^limactl edit --tty=false devvm-app-[0-9a-f]{14} --set \.mounts = \[\{"location":"\S*/app","writable":true,"9p":\{"cache":"none"\}\},'
|
||||
! stdout '(?s)limactl edit --tty=false devvm-app.*limactl edit --tty=false devvm-app'
|
||||
stdout '^limactl start --tty=false devvm-app-[0-9a-f]{14}\n(.*\n)*limactl shell --workdir / devvm-app-[0-9a-f]{14} sudo sh -c umount ''\S*/app'' \|\| exit 3; mount '
|
||||
stdout '^limactl start --tty=false devvm-app-[0-9a-f]{14}\n(.*\n)*limactl shell --start=false --workdir / devvm-app-[0-9a-f]{14} sudo sh -c umount ''\S*/app'' \|\| exit 3; mount '
|
||||
vm_state $APP_dir/vm.json
|
||||
stdout '^git\.mode=on$'
|
||||
stdout '^mount\.cache=none$'
|
||||
|
||||
Vendored
+1
-1
@@ -48,7 +48,7 @@ exec devvm
|
||||
stub_calls
|
||||
[darwin] stdout '^limactl edit --tty=false devvm-web-[0-9a-f]{14} --set \.mounts = \[\{"location":"/\S*/site","writable":true\}'
|
||||
[linux] stdout '^limactl edit --tty=false devvm-web-[0-9a-f]{14} --set \.mounts = \[\{"location":"/\S*/site","writable":true,"9p":\{"cache":"none"\}\}'
|
||||
stdout '^limactl shell --workdir /\S*/site devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/site devvm-web-[0-9a-f]{14}\n\z'
|
||||
exec tar -xOf $STUB_DIR/sync.tar moved
|
||||
stdout '^moved_from=''/\S*/web''\nmoved_to=''/\S*/site''\nclaude_from=''-\S*-web''\nclaude_to=''-\S*-site''\n\z'
|
||||
! grep '"moved"' $WEB_dir/vm.json
|
||||
|
||||
+1
-1
@@ -62,4 +62,4 @@ stub_reset
|
||||
exec devvm
|
||||
stub_calls
|
||||
stdout '^limactl start .*devvm-inner-[0-9a-f]{14}$'
|
||||
stdout '^limactl shell --workdir /\S*/app/inner devvm-inner-[0-9a-f]{14}$'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/app/inner devvm-inner-[0-9a-f]{14}$'
|
||||
Vendored
+4
-4
@@ -57,8 +57,8 @@ stub_calls
|
||||
[darwin] stdout '^tmutil addexclusion \S*/data/devvm/vms/[0-9a-f]{14}/run/ca$'
|
||||
[darwin] stdout '^limactl edit --tty=false devvm-net-[0-9a-f]{14} --set \.env = \{"HTTPS_PROXY":"http://devvm:devvm-proxy-password@192\.168\.5\.2:[0-9]+",.*"NODE_EXTRA_CA_CERTS":"/etc/ssl/devvm\.pem",.*"NO_PROXY":"localhost,127\.0\.0\.1,::1",.*\} --set \.propagateProxyEnv=false --set \.hostResolver\.enabled=false --set \.dns=\["127\.0\.0\.1"\]$'
|
||||
[linux] stdout '^limactl edit --tty=false devvm-net-[0-9a-f]{14} --set \.env = \{"HTTPS_PROXY":"http://devvm:devvm-proxy-password@192\.168\.5\.4:3128",.*\} --set \.propagateProxyEnv=false --set \.hostResolver\.enabled=false --set \.dns=\["127\.0\.0\.1"\]$'
|
||||
stdout '^limactl start --tty=false devvm-net-[0-9a-f]{14}\n(limactl list --json\n)*limactl shell --workdir / devvm-net-[0-9a-f]{14} sh -c .*/etc/ssh/ssh_host_.*\n(limactl list --json\n)*ssh -F none -M .*\nlimactl shell --workdir / devvm-net-[0-9a-f]{14} sh -c cd ''/'' && exec ''curl'' ''--noproxy'' ''\*'' ''-sS'' ''-m'' ''3'' ''-o'' ''/dev/null'' ''https://1\.1\.1\.1''\n'
|
||||
stdout '^limactl shell --workdir /\S*/net devvm-net-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl start --tty=false devvm-net-[0-9a-f]{14}\n(limactl list --json\n)*limactl shell --start=false --workdir / devvm-net-[0-9a-f]{14} sh -c .*/etc/ssh/ssh_host_.*\n(limactl list --json\n)*ssh -F none -M .*\nlimactl shell --start=false --workdir / devvm-net-[0-9a-f]{14} sh -c cd ''/'' && exec ''curl'' ''--noproxy'' ''\*'' ''-sS'' ''-m'' ''3'' ''-o'' ''/dev/null'' ''https://1\.1\.1\.1''\n'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/net devvm-net-[0-9a-f]{14}\n\z'
|
||||
# The password is in no command's arguments: devvm wrote it into lima.yaml,
|
||||
# the user's alone.
|
||||
exec sh -c 'key=$(sed -n "s/^ *\"proxy_key\": \"\(.*\)\".*/\1/p" "$NET_dir/vm.json"); test -n "$key" && ! grep -qF "$key" "$STUB_LOG" && grep -qF "\"HTTPS_PROXY\":\"http://devvm:$key@" "$LIMA_HOME"/devvm-net-*/lima.yaml && ! grep -q devvm-proxy-password "$LIMA_HOME"/devvm-net-*/lima.yaml && ls -l "$LIMA_HOME"/devvm-net-*/lima.yaml'
|
||||
@@ -112,7 +112,7 @@ stderr '^devvm: net_direct_route vm=devvm-leak-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout '^limactl stop devvm-leak-[0-9a-f]{14}$'
|
||||
! stdout 'tar -xf'
|
||||
! stdout 'limactl shell --workdir /\S*/leak'
|
||||
! stdout 'limactl shell --start=false --workdir /\S*/leak'
|
||||
vm_name LEAK leak
|
||||
vm_state $LEAK_dir/vm.json
|
||||
stdout '^net\.made\.check=unenforced$'
|
||||
@@ -131,7 +131,7 @@ stderr '^devvm: net_proxy_down_stopped vm=devvm-net-[0-9a-f]{14}$'
|
||||
stderr '^devvm: proxy_port_taken port=[0-9]+ vm=devvm-net-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout '^limactl stop devvm-net-[0-9a-f]{14}$'
|
||||
! stdout 'limactl shell --workdir /\S*/net'
|
||||
! stdout 'limactl shell --start=false --workdir /\S*/net'
|
||||
exec sh -c 'kill "$(cat "$WORK/squat.pid")"'
|
||||
|
||||
# Secrets: claude comes with Claude Code. The proxy gets its binding, with
|
||||
|
||||
Vendored
+2
-2
@@ -108,7 +108,7 @@ stderr '^paste_launch_ask count=3 dir=/tmp/devvm-paste vm=devvm-plain-[0-9a-f]{1
|
||||
stdout '^==> paste_rm_done count=3 dir=/tmp/devvm-paste vm=devvm-plain-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout 'tar -xf - (.*\n)*.*''devvm-paste'' ''count'' ''/tmp/devvm-paste'''
|
||||
stdout '''devvm-paste'' ''rm'' ''/tmp/devvm-paste''\nlimactl shell --workdir \S*/plain devvm-plain-[0-9a-f]{14}$'
|
||||
stdout '''devvm-paste'' ''rm'' ''/tmp/devvm-paste''\nlimactl shell --start=false --workdir \S*/plain devvm-plain-[0-9a-f]{14}$'
|
||||
|
||||
# A delete that fails after the yes is a warning, as a count that fails
|
||||
# is, and the launch goes on into the VM's shell.
|
||||
@@ -121,7 +121,7 @@ stderr 'paste_launch_ask count=3 dir=/tmp/devvm-paste vm=devvm-plain-[0-9a-f]{14
|
||||
stderr 'devvm: paste_rm_not_done dir=/tmp/devvm-paste vm=devvm-plain-[0-9a-f]{14}'
|
||||
! stdout 'paste_rm_done'
|
||||
stub_calls
|
||||
stdout 'limactl shell --workdir \S*/plain devvm-plain-[0-9a-f]{14}$'
|
||||
stdout 'limactl shell --start=false --workdir \S*/plain devvm-plain-[0-9a-f]{14}$'
|
||||
rm $STUB_DIR/shell-fails-on
|
||||
|
||||
# A stopped VM with nothing pasted: started without a question.
|
||||
|
||||
Vendored
+3
-3
@@ -17,7 +17,7 @@ stdout '^==> using_parent_vm dir=/\S*/app vm=devvm-app-[0-9a-f]{14}$'
|
||||
! stdout creating
|
||||
stub_calls
|
||||
! stdout 'limactl (clone|create)'
|
||||
stdout '^limactl shell --workdir /\S*/app/src/lib devvm-app-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/app/src/lib devvm-app-[0-9a-f]{14}\n\z'
|
||||
exec sh -c 'ls "$VMS" | wc -l'
|
||||
stdout '^ *1$'
|
||||
|
||||
@@ -42,7 +42,7 @@ stub_reset
|
||||
exec devvm
|
||||
! stdout using_parent_vm
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/app/src devvm-src-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/app/src devvm-src-[0-9a-f]{14}\n\z'
|
||||
|
||||
# The nearest folder with a VM wins.
|
||||
cd $WORK/app/src/lib
|
||||
@@ -63,7 +63,7 @@ stub_reset
|
||||
exec devvm --parent
|
||||
stdout '^==> using_parent_vm dir=/\S*/app vm=devvm-app-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir /\S*/app/tool/bin devvm-app-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir /\S*/app/tool/bin devvm-app-[0-9a-f]{14}\n\z'
|
||||
exec devvm stop --parent
|
||||
stdout '^==> using_parent_vm dir=/\S*/app vm=devvm-app-[0-9a-f]{14}\n==> stopped vm=devvm-app-[0-9a-f]{14}$'
|
||||
exec devvm --network open
|
||||
|
||||
Vendored
+2
-2
@@ -22,7 +22,7 @@ stdout '^mise lock --platform linux-(arm64|x64),linux-(arm64|x64)-musl$'
|
||||
# and goes before the next tool's is made.
|
||||
stdout '^limactl clone --tty=false --mount-none --set \.mounts = \[\{"location":"\S*/data/devvm/tools-build\.[0-9]+","mountPoint":"/mnt/devvm-tools","writable":true,"9p":\{"cache":"none"\}\}\] devvm-img-[0-9a-f]{12} devvm-tools-build$'
|
||||
! stdout '"location":"\S*/data/devvm/tools","mountPoint":"/mnt/devvm-tools","writable":true'
|
||||
stdout '^limactl shell --workdir / devvm-tools-build bash -s -- node 24\.21\.0 node-24\.21\.0-[0-9a-f]{12}\.erofs\n(.*\n)*limactl delete -f devvm-tools-build\n(.*\n)*limactl clone .* devvm-tools-build\n(.*\n)*limactl shell --workdir / devvm-tools-build bash -s -- pnpm \S+ pnpm-\S+\.erofs\n(.*\n)*limactl shell --workdir / devvm-tools-build bash -s -- bun 1\.4\.2 bun-1\.4\.2-[0-9a-f]{12}\.erofs\n(.*\n)*limactl shell --workdir / devvm-tools-build bash -s -- claude 2\.1\.295 claude-2\.1\.295-[0-9a-f]{12}\.erofs\n(.*\n)*limactl delete -f devvm-tools-build$'
|
||||
stdout '^limactl shell --start=false --workdir / devvm-tools-build bash -s -- node 24\.21\.0 node-24\.21\.0-[0-9a-f]{12}\.erofs\n(.*\n)*limactl delete -f devvm-tools-build\n(.*\n)*limactl clone .* devvm-tools-build\n(.*\n)*limactl shell --start=false --workdir / devvm-tools-build bash -s -- pnpm \S+ pnpm-\S+\.erofs\n(.*\n)*limactl shell --start=false --workdir / devvm-tools-build bash -s -- bun 1\.4\.2 bun-1\.4\.2-[0-9a-f]{12}\.erofs\n(.*\n)*limactl shell --start=false --workdir / devvm-tools-build bash -s -- claude 2\.1\.295 claude-2\.1\.295-[0-9a-f]{12}\.erofs\n(.*\n)*limactl delete -f devvm-tools-build$'
|
||||
exec sh -c 'grep -c "^limactl clone .* devvm-tools-build$" "$STUB_LOG"'
|
||||
stdout '^4$'
|
||||
stub_calls
|
||||
@@ -112,7 +112,7 @@ vm_state $SHOP_dir/vm.json
|
||||
stdout '^tools.names=dotnet$'
|
||||
stdout '^tools.made.files=dotnet-10\.0\.401-[0-9a-f]{12}\.erofs$'
|
||||
stub_calls
|
||||
stdout '^limactl shell --workdir / devvm-tools-build bash -s -- dotnet 10\.0\.401 dotnet-10\.0\.401-[0-9a-f]{12}\.erofs https://builds\.dotnet\.microsoft\.com/dotnet/Sdk/10\.0\.401/dotnet-sdk-10\.0\.401-linux-(arm64|x64)\.tar\.gz [0-9a-f]{128}$'
|
||||
stdout '^limactl shell --start=false --workdir / devvm-tools-build bash -s -- dotnet 10\.0\.401 dotnet-10\.0\.401-[0-9a-f]{12}\.erofs https://builds\.dotnet\.microsoft\.com/dotnet/Sdk/10\.0\.401/dotnet-sdk-10\.0\.401-linux-(arm64|x64)\.tar\.gz [0-9a-f]{128}$'
|
||||
# global.json alone calls for it too.
|
||||
project sdk
|
||||
cp $WORK/global.json global.json
|
||||
|
||||
Vendored
+3
-3
@@ -32,10 +32,10 @@ stdout '^limactl clone --tty=false devvm-img-[0-9a-f]{12} devvm-web-[0-9a-f]{14}
|
||||
stdout -count=1 'limactl edit --tty=false devvm-web'
|
||||
stdout '^limactl edit --tty=false devvm-web-[0-9a-f]{14} --set \.env = \{"HTTPS_PROXY":"http://devvm:devvm-proxy-password@192\.168\.5\.2:[0-9]+",.* --set \.propagateProxyEnv=false$'
|
||||
! stdout 'devvm-tools-build'
|
||||
stdout '^limactl start --tty=false devvm-web-[0-9a-f]{14}\n(limactl list --json\n)*limactl shell --workdir / devvm-web-[0-9a-f]{14} sh -c .*/etc/ssh/ssh_host_.*\n'
|
||||
stdout '^limactl start --tty=false devvm-web-[0-9a-f]{14}\n(limactl list --json\n)*limactl shell --start=false --workdir / devvm-web-[0-9a-f]{14} sh -c .*/etc/ssh/ssh_host_.*\n'
|
||||
stdout '^ssh -F none -M -S \S+/data/devvm/run/port-[0-9a-f]{16}\.ctl -T .* -o IdentityFile=\S+/lima/_config/user .* -o UserKnownHostsFile=\S+/data/devvm/vms/[0-9a-f]{14}/run/known_hosts .* -o HostKeyAlias=devvm-web-[0-9a-f]{14} .* -p 60022 -l stub 127\.0\.0\.1 sh -s$'
|
||||
! stdout '^docker '
|
||||
stdout '^limactl shell --workdir / devvm-web-[0-9a-f]{14} sh -c cd ''/'' && exec ''bash'' ''-c'' ''d=\$\(mktemp -d\); tar -xf - .*''\n(limactl list --json\n)+limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
stdout '^limactl shell --start=false --workdir / devvm-web-[0-9a-f]{14} sh -c cd ''/'' && exec ''bash'' ''-c'' ''d=\$\(mktemp -d\); tar -xf - .*''\n(limactl list --json\n)+limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n\z'
|
||||
exists $XDG_DATA_HOME/devvm/tools
|
||||
! exists $XDG_DATA_HOME/devvm/mise.lock
|
||||
# .git's hooks and config locked (macOS); elsewhere, not.
|
||||
@@ -137,7 +137,7 @@ stdout '^limactl delete -f devvm-slow-[0-9a-f]{14}$'
|
||||
[darwin] stdout '^chflags -R -P nouchg /\S*/slow/\.git/hooks$'
|
||||
! stdout 'delete -f devvm-(web|api)'
|
||||
! stdout 'nouchg /\S*/(web|api)/'
|
||||
! stdout 'limactl shell --workdir'
|
||||
! stdout 'limactl shell --start=false --workdir'
|
||||
exec sh -c 'cat "$VMS"/*/vm.json'
|
||||
! stdout devvm-slow
|
||||
stdout '"name": "devvm-web-'
|
||||
|
||||
Vendored
+3
-3
@@ -41,7 +41,7 @@ stdout '^==> tools_switch vm=devvm-web-[0-9a-f]{14}$'
|
||||
! stderr remake_confirm
|
||||
stub_calls
|
||||
! stdout 'limactl (stop|rename|clone|delete)'
|
||||
stdout 'limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
stdout 'limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
vm_state $WEB_dir/vm.json
|
||||
! stdout 'claude-1\.0\.0'
|
||||
|
||||
@@ -68,7 +68,7 @@ stderr '^remake_confirm image=foo vm=devvm-web-[0-9a-f]{14} \[y/N\] '
|
||||
stdout '==> kept vm=devvm-web-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
! stdout 'limactl (stop|rename|clone|delete)'
|
||||
stdout 'limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
stdout 'limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
vm_state $WEB_dir/vm.json
|
||||
! stdout 'claude-1\.0\.0'
|
||||
|
||||
@@ -83,7 +83,7 @@ stdout '==> saving_home vm=devvm-web-[0-9a-f]{14}$'
|
||||
stdout '==> creating_from image=foo vm=devvm-web-[0-9a-f]{14}$'
|
||||
stdout '==> remade image=foo vm=devvm-web-[0-9a-f]{14}$'
|
||||
stub_calls
|
||||
stdout 'tar -czf - --one-file-system.*\n(.*\n)*limactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl rename --tty=false devvm-web-[0-9a-f]{14} devvm-[0-9a-f]{14}-old\n(.*\n)*limactl clone --tty=false devvm-img-[0-9a-f]+ devvm-web-[0-9a-f]{14} .*\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*.*tar -xzf - --skip-old-files.*\n(.*\n)*limactl delete -f devvm-[0-9a-f]{14}-old\n(.*\n)*limactl shell --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
stdout 'tar -czf - --one-file-system.*\n(.*\n)*limactl stop devvm-web-[0-9a-f]{14}\n(.*\n)*limactl rename --tty=false devvm-web-[0-9a-f]{14} devvm-[0-9a-f]{14}-old\n(.*\n)*limactl clone --tty=false devvm-img-[0-9a-f]+ devvm-web-[0-9a-f]{14} .*\n(.*\n)*limactl start --tty=false devvm-web-[0-9a-f]{14}\n(.*\n)*.*tar -xzf - --skip-old-files.*\n(.*\n)*limactl delete -f devvm-[0-9a-f]{14}-old\n(.*\n)*limactl shell --start=false --workdir /\S*/web devvm-web-[0-9a-f]{14}\n'
|
||||
vm_state $WEB_dir/vm.json
|
||||
stdout '^image=foo$'
|
||||
stdout '^ports.forward=3000$'
|
||||
|
||||
Reference in new issue
Block a user