2 #Generic Kickstart template for Ubuntu
3 #Platform: x86 and x86-64
9 #Language modules to install
19 timezone America/Los_Angeles
24 #Initial user (user with sudo capabilities)
25 user testuser --fullname "Test User" --password Cisco1234
27 #Reboot after installation
30 #Use text mode install
33 #Install OS instead of upgrade
38 #nfs --server=server.com --dir=/path/to/ubuntu/
39 url --url http://10.30.51.28/download/ubuntu
41 #System bootloader configuration
42 bootloader --location=mbr
44 #Clear the Master Boot Record
47 #Partition clearing information
48 clearpart --all --initlabel
51 part /boot --fstype ext4 --size 256 --asprimary
52 part / --fstype ext4 --size 1 --grow --asprimary
56 #part /boot --fstype=ext4 --size=500 --asprimary
57 #part pv.aQcByA-UM0N-siuB-Y96L-rmd3-n6vz-NMo8Vr --grow --size=1
58 #volgroup vg_mygroup --pesize=4096 pv.aQcByA-UM0N-siuB-Y96L-rmd3-n6vz-NMo8Vr
59 #logvol / --fstype=ext4 --name=lv_root --vgname=vg_mygroup --grow --size=10240 --maxsize=20480
60 #logvol swap --name=lv_swap --vgname=vg_mygroup --grow --size=1024 --maxsize=8192
62 #System authorization infomation
63 auth --useshadow --enablemd5
66 network --bootproto=dhcp
68 #Firewall configuration
69 firewall --disabled --ssh
71 #Do not configure the X Window System
76 preseed live-installer/net-image string http://10.30.51.28/download/ubuntu/install/filesystem.squashfs
77 preseed user-setup/allow-password-weak boolean true