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
|
lang en_GB
langsupport --default=en_US de_DE xh_ZA
keyboard uk
autostep
auth --enablemd5 --enableshadow --enablenis
bootloader --location=mbr
device eth module1 --opts="aic152x=0x340 io=11"
device scsi module2 --opts="testopts=testvalue"
firewall --disabled
interactive
lilo
%include tests/included.ks
mouse --device=ttyS0 --emulthree msintellips/2
network --bootproto=static --ip=10.0.2.15 --netmask=255.255.255.0 --gateway=10.0.2.254 --nameserver=10.0.2.1
part / --size=1024 --grow --maxsize=2048 --asprimary --fstype xfs
partition swap --size=512 --maxsize=1024
rootpw rootme
timezone --utc America/New_York
url --url http://archive.ubuntu.com/ubuntu
user cjwatson --fullname="Colin Watson" --password="foobar"
xconfig --resolution 1280x1024
preseed test/question1 string hello
preseed --owner base-config test/question2 boolean true
preseed apt-setup/security_host string ""
%packages
@ Ubuntu Desktop
openssh-server
-man-db
%pre
#! /bin/sh
echo "This is a %pre script."
echo "It does nothing very interesting."
%post --nochroot --interpreter /bin/dash
#! /bin/sh
echo "This is a %post script."
echo "It does nothing very interesting, outside a chroot."
echo "A warning should be printed for the attempt to use dash."
%post --interpreter=/bin/bash
#! /bin/bash
echo "This is a %post script."
echo "It does nothing very interesting, in a chroot."
|