16 lines
336 B
Plaintext
Executable File
16 lines
336 B
Plaintext
Executable File
#!/usr/bin/expect
|
|
|
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
set timeout -1
|
|
|
|
spawn python3 rootfs.py --qemu-cmd qemu-system-x86_64 --qemu-ram 3500
|
|
expect {
|
|
"not syncing: Attempted to kill init" {}
|
|
"Bootstrapping completed." {}
|
|
}
|
|
send -- "\x01"
|
|
send -- "x"
|