[FSUG PD] ..

Franco Vecchiato franco.vecchiato a fastwebnet.it
Lun 26 Mar 2007 22:17:43 CEST


Il giorno dom, 25/03/2007 alle 23.53 +0200, Pinguozz ha scritto:
> Matteo Vescovi wrote:
> > On 03/25/2007 07:05 PM, Pinguozz wrote:
> >> Beh quindi il resto funzia onore al preseeding..
> > 
> > Ma e` il Franco's preseeding oppure quello originale debian?
> 
> attualmente Franco's ma diventerà ufficiale Debian.
> 
> Ciaoz!

Attenzione: l'installazione tramite preseeding è una nuova funzionalità
dell'installatore di Etch, simile a kickstart su Red Hat/Fedora, solo
che lì esiste da un po' di tempo.
L'installer scarica da un server web o da cd un file di testo, che per
ora bisogna preparare a manina (mentre Fedora crea automaticamente un
file di testo contenente le scelte fatte durante l'installazione), nel
quale si possono scrivere le risposte alle domande che l'installer fa
durante l'installazione e, soprattutto, i pacchetti che si vogliono
installare.

Non ho implementato il preseeding nell'installer, l'ho solo usato,
predisponendo alcuni file di testo da passare all'installer come sopra
accennato.

Qui http://d-i.alioth.debian.org/manual/
trovate le attuali versioni del manuale dell'installer di Etch;
nell'appendice B è spiegato come usare tale funzionalità e la struttura
del file di preseeding.

Allego il file di preseeding che ho usato sabato scorso per installare
il portatile di Fiorangela e la macchina di Francesco.

Franco
-------------- parte successiva --------------
# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string

d-i	hw-detect/start_pcmcia	boolean	false

### Mirror settings
d-i mirror/country string enter information manually
# d-i mirror/http/hostname string http.us.debian.org
#d-i mirror/http/hostname string ftp.at.debian.org
d-i mirror/http/hostname string 192.168.0.2
#d-i mirror/http/hostname string 192.168.0.4
#d-i mirror/http/directory string /debian
d-i mirror/http/directory string /mirror/debian
d-i mirror/http/proxy string

# Suite to install.
#d-i mirror/suite string unstable
d-i mirror/suite string testing
#d-i mirror/suite string stable
#d-i mirror/suite seen false
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string unstable
d-i mirror/udeb/suite string testing
#d-i mirror/udeb/suite string stable
#d-i mirror/udeb/suite seen false

# Avoid that last message about the install being complete.
d-i prebaseconfig/reboot_in_progress note

# Controls whether or not the hardware clock is set to UTC.
# d-i clock-setup/utc boolean true
d-i clock-setup/utc boolean false

d-i	debian-installer/keymap	string	it

# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
#d-i time/zone string US/Eastern
d-i time/zone string Europe/San_Marino

### Apt setup
# You can choose to install non-free and contrib software.
#d-i apt-setup/non-free boolean true
#d-i apt-setup/contrib boolean true
# Uncomment this to avoid adding security sources, or
# add a hostname to use a different server than security.debian.org.
#d-i apt-setup/security_host string
d-i apt-setup/security_host string

# Additional repositories, local[0-9] available
#d-i apt-setup/local0/comment string local server
#d-i apt-setup/local0/source string \
#       deb http://local.server/debian stable main
# URL to the public key of the local repository
#d-i apt-setup/local0/key string http://local.server/key

### Account setup

# Root password, either in clear text
#d-i passwd/root-password password r00tme
#d-i passwd/root-password-again password r00tme
# or encrypted using an MD5 hash.
#d-i passwd/root-password-crypted password [MD5 hash]

# To create a normal user account.
#d-i passwd/user-fullname string
#d-i passwd/username string
# Normal user's password, either in clear text
#d-i passwd/user-password password insecure
#d-i passwd/user-password-again password insecure
# or encrypted using an MD5 hash.
#d-i passwd/user-password-crypted password [MD5 hash]

### Base system installation
# Select the initramfs generator used to generate the initrd for 2.6 kernels.
#d-i base-installer/kernel/linux/initramfs-generators string yaird

### Boot loader installation
# Grub is the default boot loader (for x86). If you want lilo installed
# instead, uncomment this:
#d-i grub-installer/skip boolean true

# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true

# This one makes grub-installer install to the MBR if if finds some other OS
# too, which is less safe as it might not be able to boot that other OS.
d-i grub-installer/with_other_os boolean true

### Package selection
#tasksel tasksel/first multiselect standard, desktop
#tasksel tasksel/first multiselect standard, web-server
tasksel tasksel/first multiselect standard, kde-desktop
#tasksel tasksel/first multiselect standard
#tasksel tasksel/first multiselect

popularity-contest popularity-contest/participate boolean false

### Finishing up the first stage install
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note

# This will prevent the installer from ejecting the CD during the reboot,
# which is useful in some situations.
#d-i cdrom-detect/eject boolean false
d-i cdrom-detect/eject boolean true

d-i	dictionaries-common/default-wordlist	select	italiano (Italian)
#d-i	dictionaries-common/default-ispell	select	italiano (Italian)

# Ulteriori pacchetti da installare

# postazione kde derivata da tasksel kde-desktop:
d-i pkgsel/include string unrar-free ncompress unzip zip zoo bzip2 p7zip-full icedove icedove-locale-it icedove-typeaheadfind icedove-inspector ttf-bitstream-vera ttf-freefont enigmail keep k3b-i18n cdrdao dvd+rw-tools vcdimager libsane-extras hplip ocrad sane-utils kamera digikam digikam-doc libgnome-dev digikamimageplugins digikamimageplugins-doc exiv2 kino kinoplus vorbis-tools sox ffmpeg libdv-bin oss-compat vorbisgain blender-ogrexml yafray gettext-doc

### Mailer configuration
#exim4-config exim4/dc_eximconfig_configtype select no configuration at this time
#exim4-config exim4/no_config boolean true
exim4-config exim4/no_config boolean false
d-i	exim4/dc_eximconfig_configtype	select	solo consegna locale; non in rete
exim4-config exim4/dc_postmaster string alberto

d-i	courier-base/webadmin-configmode	boolean	false

### X configuration
# X can detect the right driver for some cards, but if you're preseeding,
# you override whatever it chooses. Still, vesa will work most places.
#xserver-xorg xserver-xorg/config/device/driver select vesa

# A caveat with mouse autodetection is that if it fails, X will retry it
# over and over. So if it's preseeded to be done, there is a possibility of
# an infinite loop if the mouse is not autodetected.
xserver-xorg xserver-xorg/autodetect_mouse boolean true

# Monitor autodetection is recommended.
xserver-xorg xserver-xorg/autodetect_monitor boolean true
# Uncomment if you have an LCD display.
#xserver-xorg xserver-xorg/config/monitor/lcd boolean true
# X has three configuration paths for the monitor. Here's how to preseed
# the "medium" path, which is always available. The "simple" path may not
# be available, and the "advanced" path asks too many questions.
xserver-xorg xserver-xorg/config/monitor/selection-method select medium
xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Hz

### Preseeding other packages
# Depending on what software you choose to install, or if things go wrong
# during the installation process, it's possible that other questions may
# be asked. You can preseed those too, of course. To get a list of every
# possible question that could be asked during an install, do an
# installation, and then run these commands:
#   debconf-get-selections --installer > file
#   debconf-get-selections >> file


#### Advanced options
### Shell commands
# d-i preseeding is inherently not secure. Nothing in the installer checks
# for attempts at buffer overflows or other exploits of the values of a
# preconfiguration file like this one. Only use preconfiguration files from
# trusted locations! To drive that home, and because it's generally useful,
# here's a way to run any shell command you'd like inside the installer,
# automatically.

# This first command is run as early as possible, just after
# preseeding is read.
#d-i preseed/early_command string anna-install some-udeb

# This command is run just before the install finishes, but when there is
# still a usable /target directory. You can chroot to /target and use it
# directly, or use the apt-install and in-target commands to easily install
# packages and run commands in the target system.


Maggiori informazioni sulla lista fsug-pd