3
|
1 |
# vim: set ft=conf
|
|
2 |
|
|
3 |
# Debian Installer
|
|
4 |
General guide: http://www.debian.org/releases/squeeze/amd64/index.html.en
|
|
5 |
HOWTO: http://www.debian.org/releases/squeeze/amd64/apa.html.en
|
|
6 |
|
|
7 |
## Modules
|
|
8 |
http://www.debian.org/releases/squeeze/amd64/ch06s02.html.en
|
|
9 |
|
|
10 |
^ the different modules within debian-installer; the interactive/preseed bits follow the module structure
|
|
11 |
|
|
12 |
## Boot params
|
|
13 |
http://www.debian.org/releases/squeeze/amd64/ch05s03.html.en
|
|
14 |
|
|
15 |
^ pass boot params to kernel/d-i via isolinux.cfg/boot menu
|
|
16 |
|
|
17 |
* supply path to preseed.cfg
|
|
18 |
* 'auto'
|
|
19 |
|
|
20 |
### Serial console for installer
|
|
21 |
console=ttyS0
|
|
22 |
|
|
23 |
### No DHCP probe, ask manual setup info
|
|
24 |
netcfg/disable_dhcp=true
|
|
25 |
|
|
26 |
### Preseed .cfg source
|
|
27 |
preseed/url, preseed/file=...
|
|
28 |
|
|
29 |
### debug/test preseed
|
|
30 |
preseed/interactive=true
|
|
31 |
|
|
32 |
### Do network/preseed before asking questions
|
|
33 |
auto-install/enable=???
|
|
34 |
|
|
35 |
### Keep VT's after serial console install
|
|
36 |
finish-install/keep-consoles=true
|
|
37 |
|
|
38 |
### Forget recommends
|
|
39 |
base-installer/install-recommends=false
|
|
40 |
|
|
41 |
### Resuce mode \o/ (chroot to target?)
|
|
42 |
rescue/enable=true
|
|
43 |
|
|
44 |
### Config settings
|
|
45 |
debian-installer/language & debian-installer/country | debian-installer/locale
|
|
46 |
locale=...
|
|
47 |
|
|
48 |
### Load installer modules
|
|
49 |
anna/choose_modules
|
|
50 |
|
|
51 |
### Tasksel
|
|
52 |
tasksel:tasksel/first
|
|
53 |
|
|
54 |
# Preseeding
|
|
55 |
http://d-i.alioth.debian.org/manual/en.i386/apb.html
|
|
56 |
|
|
57 |
-> provide answers to the installer questions (debconf) before-hand; automated installs
|
|
58 |
|
|
59 |
## Using preseed
|
|
60 |
http://d-i.alioth.debian.org/manual/en.i386/apbs02.html
|
|
61 |
|
|
62 |
-> remastered CD with custom preseed.cfg + isolinux/isolinux.cfg (for boot args)
|
|
63 |
|
|
64 |
## Creating a preconfugration file
|
|
65 |
http://d-i.alioth.debian.org/manual/en.i386/apbs03.html
|
|
66 |
|
|
67 |
http://d-i.alioth.debian.org/manual/example-preseed.txt
|
|
68 |
|
|
69 |
$ sudo aptitude install debconf-utils
|
|
70 |
$ debconf-get-selections --installer > file
|
|
71 |
$ debconf-get-selections >> file
|
|
72 |
|
|
73 |
## Contents of the preconfiguration file
|
|
74 |
http://d-i.alioth.debian.org/manual/en.i386/apbs04.html
|
|
75 |
|
|
76 |
Our customized preconfig file: preseed/preseed.cfg
|
|
77 |
|
|
78 |
^ templated for per-host customization: {GUEST_NAME}
|
|
79 |
^ all vars defined in pkvlm-create are available for use
|
|
80 |
|
|
81 |
### Locale
|
|
82 |
|
|
83 |
en_GB.UTF-8; country=FI
|
|
84 |
|
|
85 |
### Keyboard
|
|
86 |
|
|
87 |
fi
|
|
88 |
|
|
89 |
### Network
|
|
90 |
|
|
91 |
static
|
|
92 |
|
|
93 |
### Mirror
|
|
94 |
|
|
95 |
ftp.fi.debian.org
|
|
96 |
|
|
97 |
### Accounts
|
|
98 |
|
|
99 |
root + terom.
|
|
100 |
|
|
101 |
User account in sudo group.
|
|
102 |
|
|
103 |
### TZ/Clock
|
|
104 |
|
|
105 |
Europe/Helsinki; ntp.paivola.fi
|
|
106 |
|
|
107 |
### Partman
|
|
108 |
|
|
109 |
/dev/vda; full disk; ext3 + swap(!)
|
|
110 |
|
|
111 |
### Base installer
|
|
112 |
|
|
113 |
No install recommends (wheeeee!)
|
|
114 |
|
|
115 |
### APT setup
|
|
116 |
|
|
117 |
Dunno, defaults
|
|
118 |
|
|
119 |
### Package selection
|
|
120 |
|
|
121 |
Tasks:
|
|
122 |
* standard
|
|
123 |
* ssh-server
|
|
124 |
|
|
125 |
Additional packages:
|
|
126 |
* sudo
|
|
127 |
* screen
|
|
128 |
|
|
129 |
Install security updates right away during install.. No popcon
|
|
130 |
|
|
131 |
### The rest
|
|
132 |
|
|
133 |
foo
|
|
134 |
|
|
135 |
# virt-install
|
|
136 |
Command-line interface to define new libvirt hosts + boot them up with install media. Not much else, really..
|
|
137 |
|
|
138 |
# pkvlm-create
|
|
139 |
|
|
140 |
Integrate debian-installer preseed + virt-install -> nicely automated debian VM installs
|
|
141 |
|
5
|
142 |
## Email
|
|
143 |
http://www.debian.org/releases/squeeze/amd64/ch08s05.html.en
|
|
144 |
No local mail delivery at all. Mail sent via smtp.paivola.fi to admin users @paivola.fi.
|
|
145 |
mutt is installed, but not useable.
|
3
|
146 |
|