f17-basicDVD.sikuli

(Download this script)
install_type = 'DVD'
root_password = 'password'
pre_release = True
hostname = 'sikulitest.localdomain'


if exists():
    type('\n')

if install_type == 'DVD':
    wait(,180)
    type('\t\n')
    wait(, 120)
    # assume English (Default)
    click()
    wait()
    # assume US English Keyboard (Default)
    click()

if pre_release:
    wait()
    click()

wait()
click()
click()
waitVanish()

# clear off disk if prompted
if exists():
    click()
    waitVanish()
# configure network
wait(,30)
type(hostname)
click()
wait(,60)
click()
click()
wait()
click()
click()
click()
click()

# selecting timezone is going to be a PITA, just use the default
click()

# set the root password
wait()

type(, root_password)
type(, root_password)
click()

# allow weak passwords
if exists():
    click()

# partitioning time!
click()
click()

waitVanish()
wait(, 60)
click()

wait(, 600)

# lets just do a basic grapical desktop, no customization
click()
click()

# and now we wait for the installation process to be done
# waiting 20 minutes
wait(, 1200)
click()