mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
a61825c7b8
In particular, tests showing that #3824 works. But that test doesn't actually work yet; it only gets a DERP connection. (why?) Updates #13038 Change-Id: Ie1fd1b6a38d4e90fae7e72a0b9a142a95f0b2e8f Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
21 lines
922 B
Bash
Executable File
21 lines
922 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "Type 'C-a c' to enter monitor; q to quit."
|
|
|
|
set -eux
|
|
qemu-system-x86_64 -M microvm,isa-serial=off \
|
|
-m 1G \
|
|
-nodefaults -no-user-config -nographic \
|
|
-kernel $HOME/src/github.com/tailscale/gokrazy-kernel/vmlinuz \
|
|
-append "console=hvc0 root=PARTUUID=60c24cc1-f3f9-427a-8199-dd02023b0001/PARTNROFF=1 ro init=/gokrazy/init panic=10 oops=panic pci=off nousb tsc=unstable clocksource=hpet tailscale-tta=1 tailscaled.env=TS_DEBUG_RAW_DISCO=1" \
|
|
-drive id=blk0,file=$HOME/src/tailscale.com/gokrazy/tsapp.img,format=raw \
|
|
-device virtio-blk-device,drive=blk0 \
|
|
-netdev stream,id=net0,addr.type=unix,addr.path=/tmp/qemu.sock \
|
|
-device virtio-serial-device \
|
|
-device virtio-net-device,netdev=net0,mac=52:cc:cc:cc:cc:00 \
|
|
-chardev stdio,id=virtiocon0,mux=on \
|
|
-device virtconsole,chardev=virtiocon0 \
|
|
-mon chardev=virtiocon0,mode=readline \
|
|
-audio none
|
|
|