Merge pull request #63 from stikonas/expect
Launch interactive bash at the end of bootstrap.
This commit is contained in:
commit
fbceb63248
|
@ -7,6 +7,9 @@
|
|||
set timeout -1
|
||||
|
||||
spawn ./rootfs.sh qemu-system-x86_64 3500M
|
||||
expect -exact {not syncing: Attempted to kill init}
|
||||
expect {
|
||||
"not syncing: Attempted to kill init" {}
|
||||
"Bootstrapping completed." {}
|
||||
}
|
||||
send -- "\x01"
|
||||
send -- "x"
|
||||
|
|
|
@ -10,3 +10,5 @@ set -e
|
|||
. helpers.sh
|
||||
|
||||
echo "Bootstrapping completed."
|
||||
|
||||
exec env - PATH=/after/bin bash -i
|
||||
|
|
Loading…
Reference in New Issue