terom@19: # vim: set ft=conf terom@19: terom@23: General notes on using debian-installer preseeding, and the preseed.cfg that we use. terom@23: terom@19: # Debian Installer terom@19: General guide: http://www.debian.org/releases/squeeze/amd64/index.html.en terom@19: HOWTO: http://www.debian.org/releases/squeeze/amd64/apa.html.en terom@19: terom@19: ## Modules terom@19: http://www.debian.org/releases/squeeze/amd64/ch06s02.html.en terom@19: terom@19: ^ the different modules within debian-installer; the interactive/preseed bits follow the module structure terom@19: terom@19: ## Boot params terom@19: http://www.debian.org/releases/squeeze/amd64/ch05s03.html.en terom@19: terom@19: ^ pass boot params to kernel/d-i via isolinux.cfg/boot menu terom@19: terom@19: * supply path to preseed.cfg terom@19: * 'auto' terom@19: terom@19: ### Serial console for installer terom@19: console=ttyS0 terom@19: terom@19: ### No DHCP probe, ask manual setup info terom@19: netcfg/disable_dhcp=true terom@19: terom@19: ### Preseed .cfg source terom@19: preseed/url, preseed/file=... terom@19: terom@19: ### debug/test preseed terom@19: preseed/interactive=true terom@19: terom@19: ### Do network/preseed before asking questions terom@19: auto-install/enable=??? terom@19: terom@19: ### Keep VT's after serial console install terom@19: finish-install/keep-consoles=true terom@19: terom@19: ### Forget recommends terom@19: base-installer/install-recommends=false terom@19: terom@19: ### Resuce mode \o/ (chroot to target?) terom@19: rescue/enable=true terom@19: terom@19: ### Config settings terom@19: debian-installer/language & debian-installer/country | debian-installer/locale terom@19: locale=... terom@19: terom@19: ### Load installer modules terom@19: anna/choose_modules terom@19: terom@19: ### Tasksel terom@19: tasksel:tasksel/first terom@19: terom@19: # Preseeding terom@19: http://d-i.alioth.debian.org/manual/en.i386/apb.html terom@19: terom@19: -> provide answers to the installer questions (debconf) before-hand; automated installs terom@19: terom@19: ## Using preseed terom@19: http://d-i.alioth.debian.org/manual/en.i386/apbs02.html terom@19: terom@19: -> remastered CD with custom preseed.cfg + isolinux/isolinux.cfg (for boot args) terom@19: terom@19: ## Creating a preconfugration file terom@19: http://d-i.alioth.debian.org/manual/en.i386/apbs03.html terom@19: terom@19: http://d-i.alioth.debian.org/manual/example-preseed.txt terom@19: terom@19: $ sudo aptitude install debconf-utils terom@19: $ debconf-get-selections --installer > file terom@19: $ debconf-get-selections >> file terom@19: terom@19: ## Contents of the preconfiguration file terom@19: http://d-i.alioth.debian.org/manual/en.i386/apbs04.html terom@19: terom@19: Our customized preconfig file: preseed/preseed.cfg terom@19: terom@19: ^ templated for per-host customization: {GUEST_NAME} terom@19: ^ all vars defined in pkvlm-create are available for use terom@19: terom@19: ### Locale terom@19: terom@19: en_GB.UTF-8; country=FI terom@19: terom@19: ### Keyboard terom@19: terom@19: fi terom@19: terom@19: ### Network terom@19: terom@19: static terom@19: terom@19: ### Mirror terom@19: terom@19: ftp.fi.debian.org terom@19: terom@19: ### Accounts terom@19: terom@19: root + terom. terom@19: terom@19: User account in sudo group. terom@19: terom@19: ### TZ/Clock terom@19: terom@19: Europe/Helsinki; ntp.paivola.fi terom@19: terom@19: ### Partman terom@19: terom@19: /dev/vda; full disk; ext3 + swap(!) terom@19: terom@19: ### Base installer terom@19: terom@19: No install recommends (wheeeee!) terom@19: terom@19: ### APT setup terom@19: terom@19: Dunno, defaults terom@19: terom@19: ### Package selection terom@19: terom@19: Tasks: terom@19: * standard terom@19: * ssh-server terom@19: terom@19: Additional packages: terom@19: * sudo terom@19: * screen terom@19: terom@19: Install security updates right away during install.. No popcon terom@19: terom@19: ### The rest terom@19: terom@19: foo terom@19: terom@19: # virt-install terom@19: Command-line interface to define new libvirt hosts + boot them up with install media. Not much else, really.. terom@19: terom@19: # pkvlm-create terom@19: terom@19: Integrate debian-installer preseed + virt-install -> nicely automated debian VM installs terom@19: terom@19: ## Email terom@19: http://www.debian.org/releases/squeeze/amd64/ch08s05.html.en terom@19: No local mail delivery at all. Mail sent via smtp.paivola.fi to admin users @paivola.fi. terom@19: mutt is installed, but not useable. terom@19: