File: test_openbsd_mvme88k_install.expect

package info (click to toggle)
gxemul 0.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,152 kB
  • sloc: ansic: 111,065; sh: 972; exp: 354; makefile: 118
file content (53 lines) | stat: -rwxr-xr-x 1,261 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/local/bin/expect

set timeout 4000
spawn ./gxemul -e mvme187 -q -d obsd_mvme88k.img -d b:../../emul/m88k/openbsd_mvme88k_4.5.iso -j 4.5/mvme88k/bsd.rd

set  send_slow  {1 .5}

expect "(I)nstall"
send -s "i\r"
expect "Terminal type"
send -s "xterm\r"
expect "Proceed with install"
send -s "yes\r"
expect "Which one is the root disk"
send -s "sd0\r"
expect "Initial label editor"
send -s "d a\ra a\r63\r3500000\r4.2BSD\r/\rd b\ra b\r\r\rswap\rw\rq\r"
expect "Are you really sure that"
send -s "yes\r"
expect "System hostname"
send -s "autotest\r"
expect "Configure the network"
send -s "no\r"
expect "Password for root account"
send -s "123456\r"
expect "again"
send -s "123456\r"
expect "Location of sets"
send -s "disk\r"
expect "Is the disk partition already mounted"
send -s "!mount -t cd9660 /dev/cd0c /mnt2\r"
expect "Is the disk partition already mounted"
send -s "yes\r"
expect "Pathname to the sets"
send -s "/mnt2/4.5/mvme88k\r"
expect "Set name"
send -s "done\r"
expect "Ready to install sets"
send -s "\r"

expect "Location of sets"
send -s "done\r"
expect "sshd"
send -s "\r"
expect "ntpd"
send -s "\r"
expect "timezone"
send -s "Europe/Stockholm\r"
expect "reset the machine and boot from the disk"
send -s "umount /mnt\r"
expect "# "

close