2021-01-08 21:58:34 +00:00
|
|
|
#!/usr/bin/expect
|
|
|
|
|
2021-02-08 06:23:31 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2021-01-08 21:58:34 +00:00
|
|
|
set timeout -1
|
|
|
|
|
|
|
|
spawn ./rootfs.sh qemu-system-x86_64 3500M
|
2021-03-13 22:40:31 +00:00
|
|
|
expect {
|
|
|
|
"not syncing: Attempted to kill init" {}
|
|
|
|
"Bootstrapping completed." {}
|
|
|
|
}
|
2021-01-08 21:58:34 +00:00
|
|
|
send -- "\x01"
|
|
|
|
send -- "x"
|