/[gxemul]/upstream/0.4.6/experiments/test_openbsd_landisk_install.expect
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /upstream/0.4.6/experiments/test_openbsd_landisk_install.expect

Parent Directory Parent Directory | Revision Log Revision Log


Revision 43 - (show annotations)
Mon Oct 8 16:22:43 2007 UTC (16 years, 7 months ago) by dpavlin
File size: 1290 byte(s)
0.4.6
1 #!/usr/local/bin/expect
2
3 set timeout 4000
4 spawn ./gxemul -E landisk -q -d obsd_landisk.img -d bd:../../emul/sh/openbsd_landisk_4.1.iso -j 4.1/landisk/bsd.rd
5
6 set send_slow {1 .5}
7
8 expect "(I)nstall"
9 send -s "i\r"
10 expect "vt220"
11 send -s "xterm\r"
12 expect "Proceed with install"
13 send -s "yes\r"
14 expect "Which one is the root disk"
15 send -s "wd0\r"
16 expect "of wd0 for OpenBSD"
17 send -s "yes\r"
18 expect "Initial label editor"
19 send -s "d a\ra a\r63\r3500000\r4.2BSD\r/\ra b\r\r\rswap\rw\rq\r"
20 expect "Available disks are: wd1"
21 send -s "done\r"
22 expect "Are you really sure that"
23 send -s "yes\r"
24 expect "System hostname"
25 send -s "autotest\r"
26 expect "Configure the network"
27 send -s "no\r"
28 expect "Password for root account"
29 send -s "123456\r"
30 expect "again"
31 send -s "123456\r"
32 expect "Location of sets"
33 send -s "disk\r"
34 expect "Is the disk partition already mounted"
35 send -s "no\r"
36 expect "Which one contains the install media"
37 send -s "wd1\r"
38 expect "Pathname to the sets"
39 send -s "\r"
40 expect "Set name"
41 send -s "done\r"
42 expect "Ready to install sets"
43 send -s "yes\r"
44
45 expect "Location of sets"
46 send -s "done\r"
47 expect "sshd"
48 send -s "\r"
49 expect "ntpd"
50 send -s "\r"
51 expect "timezone"
52 send -s "Europe/Stockholm\r"
53 expect "reset the machine and boot from the disk"
54 send -s "sync\r"
55 expect "# "
56
57 close

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26