passwd asked just one time
Since i use the preseed, the base-installer ask me just one time the
passwd of root and the user, do anybody know why?
I send the my preseed
thanks a lot!
--
Carlos Parra Camargo
Emergya, Soluciones Tecnológicas
Tel. +34 954 98 10 53 FAX +34 954 98 11 79
Avda. Luis Montoto, 105
E41007 Sevilla
cparra@emergya.info
http://www.emergya.info
#### Modificar syslinux.cfg.
# Edite el fichero syslinux.cfg (o similar) y añada parámetros al final de
# la línea «append» del núcleo.
#
# Por lo menos querra añadir un parámetro indicando al instalador de donde
# obtener el fichero de preconfiguración.
# Si esta insatlando desde un medio USB, use el siguiente parámetro, y coloque
# el fichero de preconfiguración en el directorio superior del dispostiivo USB.
# preseed/file=/hd-media/preseed
# En cambio, si esta arrancando desde red, use este:
# preseed/url=http://maquina/ruta/hacia/fichero/preseed
# Si esta remasterizando un CD, podría usar este otro:
# preseed/file=/cdrom/preseed
# Asegúrese de copiar este fichero a la uicación que ha especificado.
#
# Mientras esta realizando esto, tal vez quiera cambiar allí a
# debconf/priority=critical, para evitar la mayoría de preguntas incluso
# si la siguiente preconfiguración obvia alguna.
# También podría definir el tiempo de espera a 1 en syslinux.cfg para
# evitar la necesidad de presionar enter para arrancar el instalador.
#
# La selección de idioma, país y teclado no puede ser preconfigurada desde
# un fichero, debido a que estas preguntas son efectuadas antes de que
# el fichero de preconfiguración pueda ser cargado.
# En su lugar, para obviar estas preguntas, pase algunos parámetros más
# al núcleo:
#
# languagechooser/language-name=Spanish
# countrychooser/shortlist=ES
# console-keymaps-at/keymap=es
#### Órdenes de Shell.
# La preconfiguración de d-u es inherentement insegura. Ninguna parte del
# instalador verifica intentos de desbordamiento de buffer u otras
# formas de vulneración de los valores de un fichero de preconfiguración
# como este. ¡Solamente use ficheros de preconfiguración de fuentes
# confiables! Para lograr gestionar esto, y porque generalmente es útil,
# a continuación ofrecemos una forma de ejecutar cualquier orden de shell
# que desee dentro del instalador, de forma automática.
# La primera orden a ejecutar tan pronto como sea posible, después de que
# el fichero de preconfiguración es leido.
#d-i preseed/early_command string udpkg -i /gl-mini-firstmessage/gl-mini-firstmessage_0.01_i386.udeb
# Esta orden se ejecuta justamente antes de que finalize la instalación,
# pero cuando todavía existe un directorio /target usable.
#d-i preseed/late_command string for deb in /hd-media/*.deb; do cp $deb /target/tmp; chroot /target dpkg -i /tmp/$(basename $deb); done
d-i preseed/late_command string cp /cdrom/update-grub /target; chroot /target /update-grub
# Esta orden se ejecuta tan pronto como se inicie base-config.
#base-config base-config/early_command string echo hi mom
# Esta orden se ejecuta después de que se finalice con base-config, y
# antes de presentar el cursor «login:». Esta es una buena forma de
# instalar el conjunto de paquetes que deseea, o de modificar la
# configuración del sistema.
#base-config base-config/late_command string apt-get install zsh; chsh -s /bin/zsh
base-config base-config/late_command string tasksel install guadalinex-mini-conf; rm /etc/dpsyco/cmd/R20skel
#### Configuración de red.
# Of course, this won't work if you're loading your preseed file from the
# network! But it's great if you're booting from CD or USB stick. You can
# also pass network config parameters in on the kernel params if you are
# loading preseed files from the network.
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto
# If you prefer to configure the network manually, here's how:
#d-i netcfg/disable_dhcp boolean true
#d-i netcfg/get_nameservers string 192.168.1.1
#d-i netcfg/get_ipaddress string 192.168.1.42
#d-i netcfg/get_netmask string 255.255.255.0
#d-i netcfg/get_gateway string 192.168.1.1
#d-i netcfg/confirm_static boolean true
# Note that any hostname and domain names assigned from dhcp take
# precidence over values set here. However, setting the values still
# prevents the questions from being shown even if values come from dhcp.
d-i netcfg/get_hostname string gl-mini
d-i netcfg/get_domain string guadalinex
# Disable that annoying WEP key dialog.
#d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish
#### Mirror settings.
d-i mirror/country string enter information manually
d-i mirror/http/hostname string http.guadalinex.org
d-i mirror/http/directory string /debian
d-i mirror/suite string sarge
d-i mirror/http/proxy string
### Partitioning.
# If the system has free space you can choose to only partition that space.
#d-i partman-auto/init_automatically_partition select Use the largest continuous free space
# Alternatively, you can specify a disk to partition. The device name can
# be given in either devfs or traditional non-devfs format.
# For example, to use the first disk devfs knows of:
#d-i partman-auto/disk string /dev/discs/disc0/disc
# You can choose from any of the predefined partitioning recipes:
#d-i partman-auto/choose_recipe select All files in one partition (recommended for new users)
#d-i partman-auto/choose_recipe select Desktop machine
#d-i partman-auto/choose_recipe select Multi-user workstation
# Or provide a recipe of your own...
# The recipe format is documented in the file devel/partman-auto-recipe.txt.
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
#d-i partman-auto/expert_recipe_file string /hd-media/recipe
# If not, you can put an entire recipe in one line. This example creates
# a small /boot partition, suitable swap, and uses the rest of the space
# for the root partition:
#d-i partman-auto/expert_recipe string boot-root :: 20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . 500 10000 1000000000 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 64 512 300% linux-swap method{ swap } format{ } .
# For reference, here is that same recipe in a more readable form:
# boot-root ::
# 40 50 100 ext3
# $primary{ } $bootable{ }
# method{ format } format{ }
# use_filesystem{ } filesystem{ ext3 }
# mountpoint{ /boot }
# .
# 500 10000 1000000000 ext3
# method{ format } format{ }
# use_filesystem{ } filesystem{ ext3 }
# mountpoint{ / }
# .
# 64 512 300% linux-swap
# method{ swap } format{ }
# .
# This makes partman automatically partition without confirmation.
#d-i partman/choose_partition select Finish partitioning and write changes to disk
#d-i partman/confirm boolean true
#### 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
# Alternatively, if you want to install to a location other than the mbr,
# uncomment and edit these lines:
#d-i grub-installer/title string Guadalinex Mini
#d-i grub-installer/bootdev string (hd0,0)
#d-i grub-installer/only-debian boolean false
#d-i grub-installer/with_other_os boolean false
##### Finishing up the first stage install.
# Avoid that last message about the install being complete.
#d-i prebaseconfig/reboot_in_progress note
##### Preseeding base-config.
# XXX: Note that most of this will not work right until base-config 2.40.4
# is available.
# Avoid the intorductory message.
#base-config base-config/intro note
# Avoid the final message.
#base-config base-config/login note
# If you installed a display manager, but don't want to start it immediately
# after base-config finishes.
#base-config base-config/start-display-manager boolean false
###### Time zone setup.
# Controls whether or not the hardware clock is set to GMT.
base-config tzconfig/gmt boolean true
# If you told the installer that you're in the United States, then you
# can set the time zone using this variable.
# (Choices are: Eastern, Central, Mountain, Pacific, Alaska, Hawaii,
# Aleutian, Arizona East-Indiana, Indiana-Starke, Michigan, Samoa, other)
base-config tzconfig/choose_country_zone/US select Eastern
# If you told it you're in Canada.
# (Choices are: Newfoundland, Atlantic, Eastern, Central,
# East-Saskatchewan, Saskatchewan, Mountain, Pacific, Yukon, other)
base-config tzconfig/choose_country_zone/CA select Eastern
# If you told it you're in Brazil. (Choices are: East, West, Acre,
# DeNoronha, other)
base-config tzconfig/choose_country_zone/BR select East
# Many countries have only one time zone. If you told the installer you're
# in one of those countries, you can choose its standard time zone via this
# question.
base-config tzconfig/choose_country_zone_single boolean true
# This question is asked as a fallback for countries other than those
# listed above, which have more than one time zone. You can preseed one of
# the time zones, or "other".
#base-config tzconfig/choose_country_zone_multiple select
base-config tzconfig/geographic_area select Europe
base-config tzconfig/select_zone select Madrid
###### Account setup.
# To preseed the root password, you have to put it in the clear in this
# file. That is not a very good idea, use caution!
#passwd passwd/root-password password root
#passwd passwd/root-password-again password root
# If you want to skip creation of a normal user account.
#passwd passwd/make-user boolean true
# Alternatively, you can preseed the user's name. Note that the username
# will be derived from this; it cannot be overridden currently. The
# username will be the (lowercase) first name of the full name.
#passwd passwd/user-fullname string
#passwd passwd/username string
# And their password, but use caution!
#passwd passwd/user-password password insecure
#passwd passwd/user-password-again password insecure
###### Apt setup.
# This question controls what source the second stage installation uses
# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list
# by hand
base-config apt-setup/uri_type select cdrom
# If you choose ftp or http, you'll be asked for a country and a mirror.
#base-config apt-setup/country select enter information manually
#base-config apt-setup/hostname string http.guadalinex.org
#base-config apt-setup/directory string /debian
# Stop after choosing one mirror.
base-config apt-setup/cd/dev string /dev/cdrom
base-config apt-setup/cd/another boolean false
base-config apt-setup/another boolean false
# You can choose to install non-free and contrib software.
#base-config apt-setup/non-free boolean true
#base-config apt-setup/contrib boolean true
# Do enable security updates.
base-config apt-setup/security-updates boolean false
###### Package selection.
# You can choose to install any combination of tasks that are available.
# Available tasks as of this writing include: Desktop environment,
# Web server, Print server, DNS server, File server, Mail server,
# SQL database, manual package selection. The last of those will run
# aptitude. You can also choose to install no tasks, and force the
# installation of a set of packages in some other way.
# XXX: this will not work until tasksel 2.12 is available
#tasksel tasksel/first multiselect GuadalinexMini, Conf
tasksel tasksel/first multiselect GuadalinexMini
#tasksel tasksel/first multiselect Web server, Mail server, DNS server
###### Mailer configuration.
# During a normal install, exim asks only two questions. Here's how to
# avoid even those. More complicated preseeding is possible.
exim4-config exim4/dc_eximconfig_configtype select no configuration at this time
# It's a good idea to set this to whatever user account you choose to
# create. Leaving the value blank results in postmaster mail going to
# /var/mail/mail.
exim4-config exim4/dc_postmaster string root
###### X Configuration.
# Preseeding Debian's X config is possible, but you probably need to know
# some details about the video hardware of the machine, since Debian's X
# configurator does not do fully automatic configuration of everything.
# 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-xfree86 xserver-xfree86/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-xfree86 xserver-xfree86/autodetect_mouse boolean true
# Monitor autodetection is recommended.
xserver-xfree86 xserver-xfree86/autodetect_monitor boolean true
# Uncomment if you have a LCD display.
#xserver-xfree86 xserver-xfree86/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-xfree86 xserver-xfree86/config/monitor/selection-method select medium
xserver-xfree86 xserver-xfree86/config/monitor/mode-list select 1024x768 @ 60 Hz
###### Everything else.
# 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 > /root/preseed.log
# debconf-get-selections >> /root/preseed.log
# If you like, you can include other preseed files into this one.
# Any settings in those files will override pre-existing settings from this
# file. More that one file can be listed, separated by spaces; all will be
# loaded. The included files can have preseed/include directives of their
# own as well. Note that if the filenames are relative, they are taken from
# the same directory as the preseed file that includes them.
#d-i preseed/include string x.cfg
# More flexably, this runs a shell command and if it outputs the names of
# preseed files, includes those files. For example, to switch configs based
# on a particular usb storage device (in this case, a built-in card reader):
#d-i preseed/include_command string if $(grep -q "GUID: 0aec3050aec305000001a003" /proc/scsi/usb-storage-*/*); then echo kraken.cfg; else echo otherusb.cfg; fi
Reply to: