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
|
|
|
|
|
2021-04-06 00:12:02 +01:00
|
|
|
spawn python3 rootfs.py --qemu-cmd qemu-system-x86_64 --qemu-ram 3500
|
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"
|