/usr/share/faumachine/experiments/install-Ubuntu-8.04.1/generate 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 | #
# $Id: generate,v 1.1 2009-02-17 10:46:37 potyra Exp $
#
#
cdrom_insert ubuntu-8.04.1-i386-CD
#
# Power-on node.
#
power_on
#
# Wait for language selection (boot prompt) and press enter.
#
wait_ppm 01-language_english.png 5min
type "\0d"
#
# Wait for "install ubuntu" menu option. Press down then enter.
#
wait_ppm 01b-install_ubuntu.png 1min
type "\1f\0d"
#
# wait for step 1 screen
#
wait_ppm 04-step_1.png 60min
#
# wait for forward icon and click on it.
#
wait_ppm 05-forward_button.png 20min
mouse_click 05-forward_button.png
#
# wait for step 2 screen
#
wait_ppm 06-step_2.png 40min
mouse_move 06-step_2.png
#
# wait for forward icon and click on it.
#
wait_ppm 05-forward_button.png 20min
mouse_click 05-forward_button.png
#
# wait for step 3 screen.
#
wait_ppm 07-step_3.png 40min
mouse_move 07-step_3.png
#
# wait for forward icon and click on it.
#
wait_ppm 05-forward_button.png 20min
mouse_click 05-forward_button.png
#
# wait for step 4 screen
#
wait_ppm 08-step_4.png 40min
mouse_move 08-step_4.png
#
# wait for forward icon and click on it.
#
wait_ppm 05-forward_button.png 20min
mouse_click 05-forward_button.png
#
# Wait for name text box, click on it and enter "FAUmachine User"
#
wait_ppm 10-textbox_name.png 40min
mouse_click 10-textbox_name.png
type "FAUmachine User\0d"
#
# click on left password box, enter "geheim"
#
mouse_click 11-textbox_pw_left.png
type "geheim\0d"
#
# click on right password box, enter "geheim" again. Step 8 should be loading.
#
mouse_click 12-textbox_pw_right.png
type "geheim\0d"
#
# wait for "install" button
#
wait_ppm 14-install_button.png 20min
mouse_click 14-install_button.png
#
# wait for "installing system" to give some progress indication.
#
# wait_ppm 15-installing_system.png 20min
#
# wait for "installation complete" message
#
wait_ppm 19-installation_complete.png 240min
#
# there should be a "restart now" button. click it.
#
wait_ppm 20-restart_now.png 5min
mouse_click 20-restart_now.png
#
# shutdown will ask to remove the disk, wait for it
#
wait_ppm 21-remove_disc.png 20min
#
# remove the cd
#
cdrom_remove
#
# press enter
#
type "\0d"
#
# wait for username (that's when gdm is up)
#
wait_ppm 23-username_gdm.png 40min
#
# seems like it's not 100% up yet, wait for another 30 sec before typing.
#
delay 30sec
#
# type faumachine + enter
#
type "faumachine\0d"
#
# type geheim + enter as password
#
type "geheim\0d"
#
# nm should be the last thingy to come up, wait for it's icon.
#
wait_ppm 24-nm.png 20min
#
# wait for the shutdown icon (which should be already there), click on it
#
wait_ppm 25-shutdown_icon.png 10min
mouse_click 25-shutdown_icon.png
#
# wait for big version of the shutdown icon, click on it.
#
wait_ppm 26-shutdown_icon_big.png 10min
mouse_click 26-shutdown_icon_big.png
#
# wait for usplash completed progress bar (faumachine mb has problems with
# powering off)
#
wait_ppm 27-usplash_down.png 15min
#
# to be safe, wait for another 2 minutes
#
delay 2min
#
# power off faumachine.
#
power_off
delay 1sec
|