treesls/qemu.exp

12 lines
329 B
Plaintext
Executable File

#!/usr/bin/expect
set timeout 60
# prepare the iso if you like to direct use the image
# spawn cp ./images/treesls-base.iso ./build/treesls.iso
# prepare the nvm backend
spawn rm [exec sh -c {echo "/tmp/nvm-file-$USER"}]
# start
spawn ./build/simulate.sh
expect "Welcome to ChCore shell!"
# run anything you like here
interact