#################################################################### # Installation Sources #################################################################### # Configure the sources.list ##d-i mirror/country string manual ##d-i mirror/http/hostname string fr.archive.ubuntu.com ##d-i mirror/http/directory string /ubuntu/ ##d-i apt-setup/use_mirror boolean true ##d-i apt-setup/mirror/error select Change mirror ##d-i apt-setup/multiverse boolean true ##d-i apt-setup/restricted boolean true ##d-i apt-setup/universe boolean true ##d-i apt-setup/partner boolean true ### Extras ##d-i apt-setup/extras boolean true #################################################################### # Networking #################################################################### ### Updates y Software de terceros: ubiquity ubiquity/download_updates boolean false ubiquity ubiquity/use_nonfree boolean true # Network Configuration # d-i netcfg/enable boolean true # d-i netcfg/choose_interface select auto # d-i netcfg/disable_dhcp boolean false d-i netcfg/enable boolean false d-i netcfg/get_hostname string vitalinux d-i netcfg/get_domain string aragon.es #################################################################### # Disk Partitioning / Boot loader #################################################################### # - regular: use the usual partition types for your architecture # - lvm: use LVM to partition the disk # - crypto: use LVM within an encrypted partition d-i partman-auto/method string regular # If one of the disks that are going to be automatically partitioned # contains an old LVM configuration, the user will normally receive a # warning. This can be preseeded away... d-i partman-lvm/device_remove_lvm boolean true # The same applies to pre-existing software RAID array: d-i partman-md/device_remove_md boolean true # And the same goes for the confirmation to write the lvm partitions. #d-i partman-lvm/confirm boolean true #d-i partman-lvm/confirm_nooverwrite boolean true # You can choose one of the three predefined partitioning recipes: # - atomic: all files in one partition # - home: separate /home partition # - multi: separate /home, /usr, /var, and /tmp partitions d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-auto/purge_lvm_from_device boolean true #d-i partman-auto-lvm/new_vg_name string sistema #d-i partman-auto/init_automatically_partition \ # select Guided - use entire disk and set up LVM # En la receta partman: ## 1er número) Tamaño mínio para esa partición/Volumen ## 2o número) Es la prioridad ## 3o número) Es el tamaño máximo (-1 indica sin máximo) d-i partman-auto/choose_recipe select atomic # Nos aseguramos de que el disco se etiquete como msdos, y no como gpt: # d-i partman-basicfilesystems/choose_label string gpt # d-i partman/default_filesystem string ext4 # d-i partman/bootable_flag boolean true d-i partman-basicfilesystems/choose_label string msdos d-i partman-basicfilesystems/default_label string msdos d-i partman-partitioning/choose_label string msdos d-i partman-partitioning/default_label string msdos d-i partman/choose_label string msdos d-i partman/default_label string msdos partman-partitioning partman-partitioning/choose_label select msdos # d-i partman/efi_partition string no # This makes partman automatically partition without confirmation. ###d-i partman-md/confirm boolean true d-i partman-partitioning/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true ## Controlling how partitions are mounted # The default is to mount by UUID, but you can also choose "traditional" to # use traditional device names, or "label" to try filesystem labels before # falling back to UUIDs. d-i partman/mount_style select uuid d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select Finish partitioning and write changes to disk ubiquity partman/choose_partition select Finish partitioning and write changes to disk ubiquity partman/confirm boolean true #################################################################### # Localizations / Timezone #################################################################### ### Keyboard selection ### # Seleccionar el mapa del teclado: español d-i console-setup/modelcode string skip-config d-i console-keymaps-at/keymap select es d-i keyboard-configuration/xkb-keymap select es d-i console-setup/layoutcode string es d-i keyboard-configuration/layoutcode string es #d-i keyboard-configuration/variantcode string # Configuración de localización para el idioma y país. debconf debconf/language string es d-i debian-installer/locale string es_ES.UTF-8 d-i debian-installer/language string es d-i debian-installer/country string ES d-i localechooser/supported-locales en_GB.UTF-8 #d-i localechooser/supported-locales multiselect nl_NL, nl_BE, fr_BE ### Timezone ### d-i clock-setup/utc boolean true d-i time/zone string Europe/Madrid #################################################################### # User Creation #################################################################### # Usuarios y contraseñas d-i passwd/root-login boolean false ### Para crear la pass: printf "careid..." | mkpasswd -s -m md5 # d-i passwd/root-password-crypted password $1$AMqMGyhF$E7AnvaGbRCWM8qdEbfQL.0 d-i passwd/make-user boolean true # To create a normal user account. d-i passwd/user-fullname string DGA Vitalinux d-i passwd/username string dga # 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 a crypt(3) hash. d-i passwd/user-password-crypted password $1$DuO5jFOl$RgFC.CHPpijdzz/I43e2g0 # Create the first user with the specified UID instead of the default. # d-i passwd/user-uid string 1001 # The installer will warn about weak passwords. If you are sure you know # what you're doing and want to override it, uncomment this. d-i user-setup/allow-password-weak boolean true # The user account will be added to some standard initial groups. To # override that, use this. d-i passwd/user-default-groups string audio cdrom video # Set to true if you want to encrypt the first user's home directory. d-i user-setup/encrypt-home boolean false #################################################################### # Some extras #################################################################### #tasksel tasksel/first multiselect ubuntu-desktop #d-i pkgsel/include string build-essential isomaster uck clamav clamtk openconnect adobe-flashplugin vmware-view-client ###tasksel tasksel/first multiselect # installing languages # Language pack selection d-i pkgsel/language-packs multiselect es, en # Whether to upgrade packages after debootstrap. # Allowed values: none, safe-upgrade, full-upgrade ###d-i pkgsel/upgrade select none # Only install the standard system and language packs. ###d-i pkgsel/language-pack-patterns string # No language support packages. ###d-i pkgsel/install-language-support boolean false #################################################################### # Boot Loader - Grub #################################################################### #d-i partman/early_command string \ #USBDEV=$(list-devices usb-partition | sed "s/\(.*\)./\1/");\ #BOOTDEV=$(list-devices disk | grep -v "$USBDEV" | head -1);\ #echo "grub-pc grub-pc/install_devices string $BOOTDEV" | debconf-set-selections;\ #debconf-set partman-auto/disk $BOOTDEV;\ #debconf-set grub-installer/bootdev $BOOTDEV; \ #umount /media; #d-i grub-installer/only_debian boolean true #d-i grub-installer/with_other_os boolean true #d-i grub-installer/bootdev string /dev/sda # Omitir el mensaje final sobre la finalización de la instalación d-i finish-install/reboot_in_progress note # Para apagar la máquina al terminar d-i debian-installer/exit/poweroff boolean true ### Creación del sources.list durante la instalación de la ISO vía preseed: d-i preseed/late_command string \ cp -f /target/usr/share/vitalinux/apt/sources.list /target/etc/apt/sources.list; \ in-target apt-get update;