3 set qemu
[lindex $argv
0]
4 set kernel
[lindex $argv
1]
5 set initrd
[lindex $argv
2]
6 set append
[lindex $argv
3]
7 set argv
[lreplace $argv
0 3]
9 # Wait enough
(forever
) until a long
-time boot
15 spawn $qemu
-kernel $kernel
-initrd $initrd
-nographic
-append
"$append" {*}$argv
19 "T2 SDE installer first stage*"
24 "Enter number or image file names*"
30 "* hit enter otherwise. (default:*"
40 send
"fdisk --version\n"
54 send
"echo o > /proc/sysrq-trigger\n"