3 set qemu [lindex $argv 0]
4 set argv [lreplace $argv 0 0]
6 # Wait enough (forever) until a long-time boot
11 spawn $qemu -nographic {*}$argv
13 # TODO: detect grub and send \n to avoid delay
15 if { [string match "*-*86*" $qemu] } {
23 # edit grub entry w/ arrow key escapes and C-x
25 send -s "\033\[B\033\[B\033\[B\033\[D"
28 send -s " console=ttyS0\030"
35 "T2 SDE installer first stage*"
40 "* hit enter otherwise. (default:*"
90 send -s "\033\[B\033\[B\033\[B\033\[B\033\[B\033\[B"
124 "Installing sysfiles-"
216 "Unconfigured interface"
223 "Network Configuration "