Launch interactive bash at the end of bootstrap.

This commit is contained in:
Andrius Štikonas 2021-03-13 22:40:31 +00:00
parent 3df1a83068
commit 0d14e34172
2 changed files with 6 additions and 1 deletions

View File

@ -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"

View File

@ -10,3 +10,5 @@ set -e
. helpers.sh
echo "Bootstrapping completed."
exec env - PATH=/after/bin bash -i