/usr/share/faumachine/experiments/install-FreeBSD-7.0/generate.in is in faumachine-data 20110812-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 | #
# $Id: generate.in,v 1.2 2009-05-15 07:38:40 vrsieh Exp $
#
#
# Enter @DVD@
#
cdrom_insert @DVD@
#
# Power-on node.
#
power_on
#
# Wait for "Welcome to FreeBSD!".
# Type <return>.
#
wait_asc Welcome to FreeBSD! 10min
type "\0d"
#
# Wait for "Country Selection".
# Use <Pg-Up> and <Cursor-Up> and <Space> to select "Germany".
#
wait_asc Country Selection 1min
type "\0b"
type "\0b"
type "\0b"
type "\0b"
type "\0b"
type "\0b"
type "\0b"
type "\0b"
type "\1e"
type "\1e"
type "\1e"
type "\1e"
type "\1e"
type "\1e"
type " "
#
# Wait for "System Console Keymap".
# Use "US traditional UNIX-workstation".
# Type <Return>.
#
wait_asc System Console Keymap 1min
type "\0c"
type "\0c"
type "\0c"
type "\0c"
type "\1f"
type "\1f"
type "\1f"
type "\1f"
type "\1f"
type "\1f"
type "\1f"
type "\1f"
type "\0d"
#
# Wait for "sysinstall Main Menu".
# Type <Cursor-Down> to select "Standard".
# Type <Return> to start installation.
#
wait_asc sysinstall Main Menu 1min
type "\1f"
type "\0d"
#
# Wait for "Message".
# Type <Return>.
#
wait_asc Message 1min
type "\0d"
#
# Wait for "FDISK Partition Editor".
# Type "a" to use entire disk.
# Type "q" to finish.
#
wait_asc FDISK Partition Editor 1min
type "A"
delay 1sec
type "Q"
#
# Wait for "Install Boot Manager".
# Use preselected "Install the FreeBSD Boot Manager".
# Type <Return>.
#
wait_asc Install Boot Manager 1min
type "\0d"
#
# Wait for "Message".
# Type <Return>.
#
wait_asc Message 1min
type "\0d"
#
# Wait for "FreeBSD Disklabel Editor".
# Type "A" to use automatic partitioning.
# Type "Q" to quit.
#
wait_asc FreeBSD Disklabel Editor 1min
type "A"
delay 1sec
type "Q"
#
# Wait for "Choose Distribution".
# Select "All".
# Type <Return>.
#
wait_asc Choose Distribution 1min
type "\1f"
delay 1sec
type "\0d"
#
# Wait for "User Confirmation Requested".
# Use preselected <Yes>.
# Type <Return>.
#
wait_asc User Confirmation Requested 1min
type "\0d"
#
# Wait for "Choose Distribution".
# Select "Exit".
# Type <Return>.
#
wait_asc Choose Distribution 1min
type "\1e"
delay 1sec
type "\0d"
#
# Wait for "Choose Installation Media".
# Use preselected "CD/DVD".
# Type <Return>.
#
wait_asc Choose Installation Media 1min
type "\0d"
#
# Wait for "Last Chance!".
# Use preselected "Yes".
# Type <Return>.
#
wait_asc Last Chance 1min
type "\0d"
#
# Intermediate steps.
#
wait_asc Extracting base into / directory 5min
wait_asc Extracting ports into /usr directory 30min
wait_asc Adding packages 30min
# ...
#
# Wait for "Congratulations!".
# Type <Return>.
#
wait_asc Congratulations! 2hr
type "\0d"
#
# Wait for "Would you like to configure any Ethernet...".
# Use preselected <Yes>.
# Type <Return>.
#
wait_asc Would you like to configure any Ethernet 1min
type "\0d"
#
# Wait for "Network interface information required".
# Use preselected "fxp0 Intel EtherExpress Pro/100B..."
# Type <Return>.
#
wait_asc Network interface information required 1min
type "\0d"
#
# Wait for "Do you want to try IPv6 configuration of the interface?".
# Use preselected "No".
# Type <Return>.
#
wait_asc Do you want to try IPv6 configuration 1min
type "\0d"
#
# Wait for "Do you want to try DHCP configuration of the interface?".
# Use "Yes".
# Type <Return>.
#
wait_asc Do you want to try DHCP configuration 1min
type "\09"
type "\0d"
#
# Wait for Network Configuration".
# Enter values.
# Type <Return>.
#
wait_asc Network Configuration 1min
type "freebsd70"
type "\09"
type "faumachine.org"
type "\09"
# Use DHCP Gateway.
type "\09"
# Use DHCP Name server.
type "\09"
# Use DHCP Address.
type "\09"
# Use DHCP Netmask.
type "\09"
# Skip Extra options
type "\09"
type "\0d"
#
# Wait for "Do you want this machine to function as a network gateway?".
# Use preselected "No".
# Type <Return>.
#
wait_asc Do you want this machine to function 1min
type "\0d"
#
# Wait for "Do you want to configure inetd and the network services...".
# Use preselected "No".
# Type <Return>.
#
wait_asc Do you want to configure inetd and the 1min
type "\0d"
#
# Wait for "Would you like to enable SSH login?".
# Use preselected "No".
# Type <Return>.
#
wait_asc Would you like to enable SSH login 1min
type "\0d"
#
# Wait for "Do you want to have anonymous FTP access to this machine?".
# Use preselected "No".
# Type <Return>.
#
wait_asc Do you want to have anonymous FTP access 1min
type "\0d"
#
# Wait for "Do you want to configure this machine as an NFS server?".
# Use preselected "No".
# Type <Return>.
#
wait_asc configure this machine as an NFS server 1min
type "\0d"
#
# Wait for "Do you want to configure this machine as an NFS client?".
# Use preselected "No".
# Type <Return>.
#
wait_asc configure this machine as an NFS client 1min
type "\0d"
#
# Wait for "Do you want to customize your system console settings?".
# Use preselected "No".
# Type <Return>.
#
wait_asc customize your system console settings 1min
type "\0d"
#
# Wait for "Would you like to set this machine's time zone now?".
# Use preselected <Yes>.
# Type <Return>.
#
wait_asc Would you like to set this machine's time zone 1min
type "\0d"
#
# Wait for "Is this machine's CMOS clock set to UTC?".
# Use <Yes>.
# Type <Return>.
#
wait_asc Is this machine's CMOS clock set to UTC 1min
type "\09"
type "\0d"
#
# Wait for "Time Zone Selector".
# Select "Europe".
# Type <Return>.
#
wait_asc Time Zone Selector 1min
type "8"
type "\0d"
#
# Wait for "Countries in Europe".
# Select "Germany".
# Type <Return>.
#
wait_asc Countries in Europe 1min
type "9"
type "\1f"
type "\1f"
type "\1f"
type "\1f"
type "\1f"
type "\1f"
type "\0d"
#
# Wait for "Does the abbreviation `CET' look reasonable?".
# Wait for "Does the abbreviation `CEST' look reasonable?".
# Use preselected <Yes>.
# Type <Return>.
#
wait_asc look reasonable? 1min
type "\0d"
#
# Wait for "Would you like to enable Linux binary compatibility?".
# Use preselected "Yes".
# Type <Return>.
#
wait_asc Would you like to enable Linux binary 1min
type "\0d"
#
# Wait for "Does this system have a PS/2, serial, or bus mouse?".
# Use "Yes".
# Type <Return>.
#
wait_asc Does this system have a PS/2, serial 10min
type "\09"
type "\0d"
#
# Wait for "Please configure your mouse".
# Select "2 Enable".
# Type <Return>.
#
wait_asc Please configure your mouse 1min
type "2"
type "\0d"
#
# Wait for "Now move the mouse and see if it works."
# Use preselected "Yes".
# Type <Return>.
#
wait_asc Now move the mouse and see if it works 1min
type "\0d"
#
# Wait for "Please configure your mouse".
# Select "X Exit".
# Type <Return>.
#
wait_asc Please configure your mouse 1min
type "X"
type "\0d"
#
# Wait for "The FreeBSD package collection...".
# Use "No".
# Type <Return>.
#
wait_asc The FreeBSD package collection 1min
type "\09"
type "\0d"
#
# Wait for "Would you like to add any initial user accounts...".
# Use preselected "Yes".
# Type <Return>.
#
wait_asc Would you like to add any initial user accounts 1min
type "\0d"
#
# Wait for "User and group management".
# Select "Group".
# Type <Return>.
#
wait_asc User and group management 1min
type "G"
type "\0d"
#
# Wait for "Add a new group".
# Enter values.
#
wait_asc Add a new group 1min
type "user"
type "\09"
# Use default "1001".
type "\09"
# No members.
type "\09"
type "\0d"
#
# Wait for "User and group management".
# Select "User".
# Type <Return>.
#
wait_asc User and group management 1min
type "U"
type "\0d"
#
# Wait for "Add a new user".
# Enter values.
#
wait_asc Add a new user 1min
type "demo"
type "\09"
# Use default "1001"
type "\09"
type "user"
type "\09"
type "WeV0te4u!"
type "\09"
type "\08\08\08\08\08\08Demo User"
type "\09"
# No member groups
type "\09"
# Use default "/home/demo"
type "\09"
# Use default "/bin/sh"
type "\09"
type "\0d"
#
# Wait for "User and group management".
# Select "X Exit".
# Type <Return>.
#
wait_asc User and group management 1min
type "X"
type "\0d"
#
# Wait for "Now you must set the system manager's password."
# Type <Return>.
#
wait_asc Now you must set the system manager's password 1min
type "\0d"
#
# Wait for "New Password:"
# Type "WeV0te4u!"
# Type <Return>.
# Wait for "Retype New Password:"
# Type "WeV0te4u!"
# Type <Return>.
#
wait_asc New Password: 1min
type "WeV0te4u!"
type "\0d"
wait_asc Retype New Password: 1min
type "WeV0te4u!"
type "\0d"
#
# Wait for "Visit the general configuration menu for a chance...".
# Use preselected "No".
# Type <Return>.
wait_asc Visit the general configuration menu for a 1min
type "\0d"
#
# Wait for "sysinstall Main Menu".
# Select "X Exit Install".
# Type <Return> to exit.
#
wait_asc sysinstall Main Menu 1min
type "X"
#
# Wait for "Are you sure you wish to exit?".
# Select "Yes".
# Type <Return>.
#
wait_asc Are you sure you wish to exit 1min
type "\09"
type "\0d"
cdrom_remove
#
# Wait for "Welcome to FreeBSD!".
# Type <return>.
#
wait_asc Welcome to FreeBSD! 10min
type "\0d"
#
# Wait for "login:".
# Type "root".
#
wait_asc login: 5min
type "root\0d"
#
# Wait for "password".
# Type "WeV0te4u!"
#
wait_asc Password: 1min
type "WeV0te4u!\0d"
#
# Wait for shell prompt.
# Type "halt".
#
wait_asc # 1min
type "halt\0d"
#
# Wait for "Please press any key to reboot".
# Power-off machine.
#
wait_asc Please press any key to reboot 1min
power_off
|