Update ansible playbooks with documentation
[csit.git] / resources / tools / testbed-setup / ks.cfg
1 #
2 #Generic Kickstart template for Ubuntu
3 #Platform: x86 and x86-64
4 #
5
6 #System language
7 lang en_US
8
9 #Language modules to install
10 langsupport en_US
11
12 #System keyboard
13 keyboard us
14
15 #System mouse
16 mouse
17
18 #System timezone
19 timezone America/Los_Angeles
20
21 #Root password
22 rootpw --disabled
23
24 #Initial user (user with sudo capabilities)
25 user testuser --fullname "Test User" --password Cisco1234
26
27 #Reboot after installation
28 reboot
29
30 #Use text mode install
31 text
32
33 #Install OS instead of upgrade
34 install
35
36 #Installation media
37 #cdrom
38 #nfs --server=server.com --dir=/path/to/ubuntu/
39 url --url http://10.30.51.28/ubuntu
40
41 #System bootloader configuration
42 bootloader --location=mbr
43
44 #Clear the Master Boot Record
45 zerombr yes
46
47 #Partition clearing information
48 clearpart --all --initlabel
49
50 #Basic disk partition
51 part /boot --fstype ext4 --size 256 --asprimary
52 part / --fstype ext4 --size 1 --grow --asprimary
53 part swap --size 1024
54
55 #Advanced partition
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
61
62 #System authorization infomation
63 auth  --useshadow  --enablemd5
64
65 #Network information
66 network --bootproto=dhcp
67
68 #Firewall configuration
69 firewall --disabled --ssh
70
71 #Do not configure the X Window System
72 skipx
73
74 ###
75
76 preseed live-installer/net-image string http://10.30.51.28/ubuntu/install/filesystem.squashfs
77 preseed user-setup/allow-password-weak boolean true
78
79
80 %packages
81 openssh-server
82 python2.7