docs
authorTero Marttila <terom@fixme.fi>
Wed, 14 Dec 2011 01:10:04 +0200
changeset 3 6f0d48ce9dfe
parent 2 221db3973c99
child 4 bf9d63195f9d
docs
README
misc/TODO
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README	Wed Dec 14 01:10:04 2011 +0200
@@ -0,0 +1,143 @@
+# vim: set ft=conf
+
+# Debian Installer
+General guide: http://www.debian.org/releases/squeeze/amd64/index.html.en
+HOWTO: http://www.debian.org/releases/squeeze/amd64/apa.html.en
+
+## Modules
+http://www.debian.org/releases/squeeze/amd64/ch06s02.html.en
+
+ ^ the different modules within debian-installer; the interactive/preseed bits follow the module structure
+
+## Boot params
+http://www.debian.org/releases/squeeze/amd64/ch05s03.html.en
+
+ ^ pass boot params to kernel/d-i via isolinux.cfg/boot menu
+
+* supply path to preseed.cfg
+* 'auto'
+
+### Serial console for installer
+console=ttyS0
+
+### No DHCP probe, ask manual setup info
+netcfg/disable_dhcp=true
+
+### Preseed .cfg source
+preseed/url, preseed/file=...
+
+### debug/test preseed
+preseed/interactive=true
+
+### Do network/preseed before asking questions
+auto-install/enable=???
+
+### Keep VT's after serial console install
+finish-install/keep-consoles=true
+
+### Forget recommends
+base-installer/install-recommends=false
+
+### Resuce mode \o/ (chroot to target?)
+rescue/enable=true
+
+### Config settings
+debian-installer/language & debian-installer/country | debian-installer/locale
+locale=...
+
+### Load installer modules
+anna/choose_modules
+
+### Tasksel
+tasksel:tasksel/first
+
+# Preseeding
+http://d-i.alioth.debian.org/manual/en.i386/apb.html
+
+-> provide answers to the installer questions (debconf) before-hand; automated installs
+
+## Using preseed
+http://d-i.alioth.debian.org/manual/en.i386/apbs02.html
+
+-> remastered CD with custom preseed.cfg + isolinux/isolinux.cfg (for boot args)
+
+## Creating a preconfugration file
+http://d-i.alioth.debian.org/manual/en.i386/apbs03.html
+
+    http://d-i.alioth.debian.org/manual/example-preseed.txt
+    
+    $ sudo aptitude install debconf-utils
+    $ debconf-get-selections --installer > file
+    $ debconf-get-selections >> file
+
+## Contents of the preconfiguration file
+http://d-i.alioth.debian.org/manual/en.i386/apbs04.html
+
+Our customized preconfig file: preseed/preseed.cfg
+
+ ^ templated for per-host customization: {GUEST_NAME}
+ ^ all vars defined in pkvlm-create are available for use
+
+### Locale
+
+en_GB.UTF-8; country=FI
+
+### Keyboard
+
+fi
+
+### Network
+
+static
+
+### Mirror
+
+ftp.fi.debian.org
+
+### Accounts
+
+root + terom.
+
+User account in sudo group.
+
+### TZ/Clock
+
+Europe/Helsinki; ntp.paivola.fi
+
+### Partman
+
+/dev/vda; full disk; ext3 + swap(!)
+
+### Base installer
+
+No install recommends (wheeeee!)
+
+### APT setup
+
+Dunno, defaults
+
+### Package selection
+
+Tasks:
+* standard
+* ssh-server
+
+Additional packages:
+* sudo
+* screen
+
+Install security updates right away during install.. No popcon
+
+### The rest
+
+foo
+
+# virt-install
+Command-line interface to define new libvirt hosts + boot them up with install media. Not much else, really..
+
+# pkvlm-create
+
+Integrate debian-installer preseed + virt-install -> nicely automated debian VM installs
+
+
+
--- a/misc/TODO	Tue Dec 13 20:52:30 2011 +0200
+++ b/misc/TODO	Wed Dec 14 01:10:04 2011 +0200
@@ -1,44 +1,5 @@
-### Debian-installer
-
-## Debian Installer; boot params
-## Modules: http://www.debian.org/releases/squeeze/amd64/ch06s02.html.en
-## Boot params: http://www.debian.org/releases/squeeze/amd64/ch05s03.html.en
-
-
-# Serial console for installer
-# console=ttyS0
-
-# No DHCP probe, ask manual setup info
-# netcfg/disable_dhcp=true
-
-# Preseed .cfg source
-# preseed/url, preseed/file=...
-
-# debug/test preseed
-# preseed/interactive=true
-
-# Do network/preseed before asking questions
-# auto-install/enable=???
-
-# Keep VT's after serial console install
-# finish-install/keep-consoles=true
-
-# Forget recommends
-# base-installer/install-recommends=false
-
-# Resuce mode \o/ (chroot to target?)
-# rescue/enable=true
-
-## Config settings
-# debian-installer/language & debian-installer/country | debian-installer/locale
-# locale=...
-
-# Load installer modules
-# anna/choose_modules
-
-# tasksel:tasksel/first
-
-### Email
+# VM config
+## Email
 
 No local mail delivery at all, per default install. Mail sent via smtp.paivola.fi to admin users.
 
@@ -46,6 +7,7 @@
 
 No mutt, please no Exim with local mail delivery. Delivery to system user accounts @paivola.fi via smtp.paivola.fi is ok.
 
-### Console
+## Console
 
-ttyS0 -> virsh console
+inittab ttyS0 -> virsh console
+