Modifications entre les versions 17 et 18
Version 17 à la date du 2011-03-12 03:46:24
Taille: 6818
Commentaire: mise à jour
Version 18 à la date du 2011-03-12 03:50:52
Taille: 6838
Commentaire:
Texte supprimé. Texte ajouté.
Ligne 18: Ligne 18:
# (ou indiquer un miroir officiel de Ubuntu le cas échéant)
Ligne 76: Ligne 77:
# 1000 10000 300% linux-swap \ # 4000 10000 300% linux-swap \
Ligne 79: Ligne 80:
# 500 50000 1000000000 ext4   \ # 1000 100000 1000000000 ext4 \
Ligne 106: Ligne 107:
d-i apt-setup/local0/source boolean false

Cette page présente un modèle de preseed (pré-configuration automatique) pour un poste client AuF sous Ubuntu Lucid.

Un grand merci à Ndimby pour son travail d'étude approfondie sur cette technique ! :-)

Fichier /var/www/config/lucid-preseed-auf-fixe :

#==============================================================================
# paramétrages de base
#==============================================================================

# renseigner ici vos informations locales
d-i time/zone string Asia/Ho_Chi_Minh
d-i debian-installer/locale string fr_FR.UTF-8
#d-i console-tools/archs select at
#d-i console-keymaps-at/keymap select fr
d-i console-setup/layoutcode string fr

# renseigner ici les informations concernant votre miroir Ubuntu Lucid
# (ou indiquer un miroir officiel de Ubuntu le cas échéant)
d-i mirror/country string manual
d-i mirror/protocol string http
#d-i mirror/http/hostname string mirror.vn.refer.org
#d-i mirror/http/directory string /ubuntu/archive
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
d-i apt-setup/use_mirror boolean false

# renseigner ici les informations concernant le compte "root"
# (utiliser la commande "mkpasswd -m sha-512" du paquet "whois")
#d-i passwd/root-login boolean true
#d-i passwd/root-password-crypted password $6$xxxxxxxx$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# renseigner ici les informations concernant le 1er compte utilisateur
#d-i passwd/user-fullname string AUF
#d-i passwd/username string auf
#d-i passwd/user-password-crypted password $6$xxxxxxxx$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# participer (éventuellement) aux développements du modèle AuF
#d-i apt-setup/local1/repository string http://apt.auf.org/ lucid-test auf openoffice
#d-i apt-setup/local1/comment string Paquets AUF pour Lucid (test)
#d-i apt-setup/local1/key string http://apt.auf.org/auf-keyring.gpg
#d-i apt-setup/local1/source boolean false
#d-i apt-setup/local2/repository string http://apt.auf.org/ lucid-experimental auf
#d-i apt-setup/local2/comment string Paquets AUF pour Lucid (experimental)
#d-i apt-setup/local2/key string http://apt.auf.org/auf-keyring.gpg
#d-i apt-setup/local2/source boolean false

# ajouter (éventuellement) une langue locale
d-i pkgsel/language-packs multiselect fr
#d-i pkgsel/language-packs multiselect fr, vi, en

# ajouter (éventuellement) d'autres paquets
d-i pkgsel/include string auf-keyring auf-client-fixe auf-client-logiciels auf-client-openoffice-migration auf-client-fonds-d-ecran
#d-i pkgsel/include string auf-keyring auf-client-fixe auf-client-logiciels auf-client-openoffice-migration auf-client-fonds-d-ecran auf-modeles-openoffice auf-client-menu auf-poste-client-reflets

#==============================================================================
# renseigner ici les informations concernant votre choix de partitionnement
# (décommenter toute cette section pour un partitionnement 100% automatique
#  avec une racine de 15 Go, un swap de 3×RAM et le reste sur /srv)
#==============================================================================
# !!!!! ATTENTION : écrasement sans confirmation du contenu du disque !!!!!
#==============================================================================
#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string regular
#d-i partman-lvm/device_remove_lvm boolean true
#d-i partman-lvm/confirm boolean true
#d-i partman-md/device_remove_md boolean true
#d-i partman-md/confirm boolean true
#d-i partman-auto/expert_recipe string                         \
#      root-swap ::                                            \
#              10000 20000 15000 ext4                          \
#                      $primary{ } $bootable{ }                \
#                      method{ format } format{ }              \
#                      use_filesystem{ } filesystem{ ext4 }    \
#                      mountpoint{ / }                         \
#              .                                               \
#              4000 10000 300% linux-swap                      \
#                      method{ swap } format{ }                \
#              .                                               \
#              1000 100000 1000000000 ext4                     \
#                      method{ format } format{ }              \
#                      use_filesystem{ } filesystem{ ext4 }    \
#                      mountpoint{ /srv }                      \
#              .
#d-i partman/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

#==============================================================================
# inutile de toucher à ce qui suit (en principe)
#==============================================================================
d-i debian-installer/language string fr
d-i netcfg/get_domain string unassigned-domain
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
d-i mirror/suite string lucid
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i apt-setup/multiverse boolean true
d-i apt-setup/backports boolean false
d-i apt-setup/partner boolean true
d-i apt-setup/source boolean false
d-i apt-setup/local0/repository string http://apt.auf.org/ lucid auf openoffice
d-i apt-setup/local0/comment string Paquets AUF pour Lucid (stable)
d-i apt-setup/local0/key string http://apt.auf.org/auf-keyring.gpg
d-i apt-setup/local0/source boolean false
tasksel tasksel/first multiselect standard, ubuntu-desktop
d-i pkgsel/include/install-recommends boolean true
d-i pkgsel/upgrade select full-upgrade
d-i pkgsel/update-policy select none
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/poweroff boolean true
d-i preseed/late_command string in-target wget http://nfs/config/lucid-postpreseed -O /root/postpreseed; in-target chmod +x /root/postpreseed; in-target /root/postpreseed

# expérimentations (actuellement fonctionnelles)
libpam-runtime libpam-runtime/profiles multiselect unix, gnome-keyring, consolekit, auf-mkhomedir
apparmor apparmor/homedirs string /home*/ /home/*/ /net/*/home*/ /net/*/home*/*/
ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true

Projet/ModèleLucid/PreseedAuFFixe (dernière édition le 2011-04-04 23:03:55 par JeanChristopheAndré)