Pièce jointe « preseed-jaunty.txt »

Téléchargement

   1 #### Contents of the preconfiguration file (for lenny)
   2 ### Localization
   3 # Locale sets language and country.
   4 d-i debian-installer/locale string fr_FR.UTF-8
   5 d-i debian-installer/language string fr
   6 
   7 # Keyboard selection.
   8 d-i console-tools/archs select at
   9 d-i console-keymaps-at/keymap select fr
  10 d-i console-setup/layoutcode string fr
  11 # Example for a different keyboard architecture
  12 #d-i console-keymaps-usb/keymap select mac-usb-us
  13 
  14 ### Network configuration
  15 # netcfg will choose an interface that has link if possible. This makes it
  16 # skip displaying a list if there is more than one interface.
  17 #d-i netcfg/choose_interface select auto
  18 
  19 # To pick a particular interface instead:
  20 d-i netcfg/choose_interface select eth0
  21 
  22 # If you have a slow dhcp server and the installer times out waiting for
  23 # it, this might be useful.
  24 #d-i netcfg/dhcp_timeout string 60
  25 
  26 # If you prefer to configure the network manually, uncomment this line and
  27 # the static network configuration below.
  28 #d-i netcfg/disable_dhcp boolean true
  29 
  30 # If you want the preconfiguration file to work on systems both with and
  31 # without a dhcp server, uncomment these lines and the static network
  32 # configuration below.
  33 #d-i netcfg/dhcp_failed note
  34 #d-i netcfg/dhcp_options select Configure network manually
  35 
  36 # Static network configuration.
  37 #d-i netcfg/get_nameservers string 192.168.1.1
  38 #d-i netcfg/get_ipaddress string 192.168.1.42
  39 #d-i netcfg/get_netmask string 255.255.255.0
  40 #d-i netcfg/get_gateway string 192.168.1.1
  41 #d-i netcfg/confirm_static boolean true
  42 
  43 # Any hostname and domain names assigned from dhcp take precedence over
  44 # values set here. However, setting the values still prevents the questions
  45 # from being shown, even if values come from dhcp.
  46 d-i netcfg/get_hostname string unassigned-hostname
  47 d-i netcfg/get_domain string unassigned-domain
  48 
  49 # Disable that annoying WEP key dialog.
  50 d-i netcfg/wireless_wep string
  51 # The wacky dhcp hostname that some ISPs use as a password of sorts.
  52 #d-i netcfg/dhcp_hostname string radish
  53 
  54 # If non-free firmware is needed for the network or other hardware, you can
  55 # configure the installer to always try to load it, without prompting. Or
  56 # change to false to disable asking.
  57 #d-i hw-detect/load_firmware boolean true
  58 d-i hw-detect/load_firmware boolean false
  59 
  60 ### Network console
  61 # Use the following settings if you wish to make use of the network-console
  62 # component for remote installation over SSH. This only makes sense if you
  63 # intend to perform the remainder of the installation manually.
  64 #d-i anna/choose_modules string network-console
  65 #d-i network-console/password password r00tme
  66 #d-i network-console/password-again password r00tme
  67 
  68 ### Mirror settings
  69 # If you select ftp, the mirror/country string does not need to be set.
  70 #d-i mirror/protocol string ftp
  71 d-i mirror/country string manual
  72 d-i mirror/protocol string http
  73 d-i mirror/http/hostname string mirror.sn.auf
  74 #d-i mirror/http/hostname string miroirs.refer.sn
  75 d-i mirror/http/directory string /ubuntu
  76 d-i mirror/http/proxy string
  77 
  78 # Suite to install.
  79 d-i mirror/suite string jaunty
  80 # Suite to use for loading installer components (optional).
  81 #d-i mirror/udeb/suite string testing
  82 
  83 ### Clock and time zone setup
  84 # Controls whether or not the hardware clock is set to UTC.
  85 d-i clock-setup/utc boolean true
  86 
  87 # You may set this to any valid setting for $TZ; see the contents of
  88 # /usr/share/zoneinfo/ for valid values.
  89 d-i time/zone string Africa/Dakar
  90 
  91 # Controls whether to use NTP to set the clock during the install
  92 d-i clock-setup/ntp boolean true
  93 # NTP server to use. The default is almost always fine here.
  94 d-i clock-setup/ntp-server string ntp.refer.sn
  95 
  96 ### Partitioning
  97 # If the system has free space you can choose to only partition that space.
  98 #d-i partman-auto/init_automatically_partition select biggest_free
  99 
 100 # Alternatively, you can specify a disk to partition. The device name must
 101 # be given in traditional non-devfs format.
 102 # Note: A disk must be specified, unless the system has only one disk.
 103 # For example, to use the first SCSI/SATA hard disk:
 104 d-i partman-auto/disk string /dev/sda
 105 # In addition, you'll need to specify the method to use.
 106 # The presently available methods are: "regular", "lvm" and "crypto"
 107 d-i partman-auto/method string regular
 108 
 109 # If one of the disks that are going to be automatically partitioned
 110 # contains an old LVM configuration, the user will normally receive a
 111 # warning. This can be preseeded away...
 112 d-i partman-lvm/device_remove_lvm boolean true
 113 # The same applies to pre-existing software RAID array:
 114 d-i partman-md/device_remove_md boolean true
 115 # And the same goes for the confirmation to write the lvm partitions.
 116 d-i partman-lvm/confirm boolean true
 117 
 118 # You can choose one of the three predefined partitioning recipes:
 119 # - atomic: all files in one partition
 120 # - home:   separate /home partition
 121 # - multi:  separate /home, /usr, /var, and /tmp partitions
 122 #d-i partman-auto/choose_recipe select atomic
 123 
 124 # Or provide a recipe of your own...
 125 # The recipe format is documented in the file devel/partman-auto-recipe.txt.
 126 # If you have a way to get a recipe file into the d-i environment, you can
 127 # just point at it.
 128 #d-i partman-auto/expert_recipe_file string /hd-media/recipe
 129 
 130 # If not, you can put an entire recipe into the preconfiguration file in one
 131 # (logical) line. This example creates a small /boot partition, suitable
 132 # swap, and uses the rest of the space for the root partition:
 133 #d-i partman-auto/expert_recipe string                         \
 134 #      boot-root ::                                            \
 135 #              40 50 100 ext3                                  \
 136 #                      $primary{ } $bootable{ }                \
 137 #                      method{ format } format{ }              \
 138 #                      use_filesystem{ } filesystem{ ext3 }    \
 139 #                      mountpoint{ /boot }                     \
 140 #              .                                               \
 141 #              500 10000 1000000000 ext3                       \
 142 #                      method{ format } format{ }              \
 143 #                      use_filesystem{ } filesystem{ ext3 }    \
 144 #                      mountpoint{ / }                         \
 145 #              .                                               \
 146 #              64 512 300% linux-swap                          \
 147 #                      method{ swap } format{ }                \
 148 #              .
 149 
 150 # partitionnement Jaunty Dakar :
 151 # 15G pour / ext4 (pas plus, pour acceler l'udpcast)
 152 # 300% RAM pour le swap (hibernation possible)
 153 # Note : si vous trouvez mieux, faites nous signe !
 154 
 155 d-i partman-auto/expert_recipe string                         \
 156       root-swap ::                                            \
 157               15000 15000 15000 ext4                          \
 158                       $primary{ } $bootable{ }                \
 159                       method{ format } format{ }              \
 160                       use_filesystem{ } filesystem{ ext4 }    \
 161                       mountpoint{ / }                         \
 162               .                                               \
 163               1000 2000 300% linux-swap                       \
 164                       method{ swap } format{ }    \
 165               .                                               \
 166               10 20000 1000000000 none                       \
 167               	      method{ keep } .
 168                                                
 169 # This makes partman automatically partition without confirmation, provided
 170 # that you told it what to do using one of the methods above.
 171 d-i partman/confirm_write_new_label boolean true
 172 d-i partman/choose_partition select finish
 173 d-i partman/confirm boolean true
 174 # La derniere partition avec method{keep} fait que partman est perdu
 175 # en force la réponse pour lui dire de continuer quand même
 176 d-i partman-basicmethods/method_only boolean false
 177 ### Base system installation
 178 # Select the initramfs generator used to generate the initrd for 2.6 kernels.
 179 #d-i base-installer/kernel/linux/initramfs-generators string yaird
 180 
 181 # The kernel image (meta) package to be installed; "none" can be used if no
 182 # kernel is to be installed.
 183 #d-i base-installer/kernel/image string linux-image-2.6-486
 184 d-i base-installer/kernel/image string linux-generic
 185 
 186 ### Account setup
 187 # Skip creation of a root account (normal user account will be able to
 188 # use sudo).
 189 d-i passwd/root-login boolean true
 190 # Alternatively, to skip creation of a normal user account.
 191 d-i passwd/make-user boolean true
 192 
 193 # Root password, either in clear text
 194 #d-i passwd/root-password password r00tme
 195 #d-i passwd/root-password-again password r00tme
 196 # or encrypted using an MD5 hash.
 197 d-i passwd/root-password-crypted password $6$WJuK/bC3$zUaDoiVLLZ.sP/ui9ucDqrAK9EUv1s3HhKkuj.63p1OlR2YgGJ.U5saIwJa0xNVVPXrSDTObx32GVo2iDuvLu/
 198 
 199 # To create a normal user account.
 200 d-i passwd/user-fullname string administration auf
 201 d-i passwd/username string admindesktop
 202 # Normal user's password, either in clear text
 203 #d-i passwd/user-password password insecure
 204 #d-i passwd/user-password-again password insecure
 205 # or encrypted using an MD5 hash.
 206 d-i passwd/user-password-crypted password $6$C7J1Lvjk$bYSnWdQHmz/4tDaV37yOLXLBGUTklr6FH9ySm4mGi27xgApL5VBxXbpKof7ktUJEK0gRUi78Fys7spole5uex1
 207 # Create the first user with the specified UID instead of the default.
 208 #d-i passwd/user-uid string 1010
 209 
 210 # The user account will be added to some standard initial groups. To
 211 # override that, use this.
 212 d-i passwd/user-default-groups string adm audio cdrom video dialout lpadmin plugdev sambashare
 213 d-i user-setup/encrypt-home boolean false
 214 
 215 ### Apt setup
 216 # You can choose to install non-free and contrib software.
 217 #d-i apt-setup/non-free boolean true
 218 #d-i apt-setup/contrib boolean true
 219 # Uncomment this if you don't want to use a network mirror.
 220 #d-i apt-setup/use_mirror boolean false
 221 # Select which update services to use; define the mirrors to be used.
 222 # Values shown below are the normal defaults.
 223 #d-i apt-setup/services-select multiselect security, volatile
 224 #d-i apt-setup/services-select multiselect
 225 #d-i apt-setup/security_host string security.debian.org
 226 #d-i apt-setup/volatile_host string volatile.debian.org
 227 
 228 d-i apt-setup/restricted boolean true
 229 d-i apt-setup/universe boolean true
 230 d-i apt-setup/multiverse boolean true
 231 d-i apt-setup/backports boolean false
 232 
 233 # Uncomment this if you don't want to use a network mirror.
 234 #d-i apt-setup/use_mirror boolean false
 235 # Select which update services to use; define the mirrors to be used.
 236 d-i apt-setup/services-select multiselect security
 237 d-i apt-setup/security_host string miroirs.refer.sn
 238 d-i apt-setup/security_path string /ubuntu
 239 
 240 # Additional repositories, local[0-9] available
 241 #d-i apt-setup/local0/repository string \
 242 #       http://local.server/debian stable main
 243 #d-i apt-setup/local0/comment string local server
 244 # Enable deb-src lines
 245 #d-i apt-setup/local0/source boolean true
 246 # URL to the public key of the local repository; you must provide a key or
 247 # apt will complain about the unauthenticated repository and so the
 248 # sources.list line will be left commented out
 249 #d-i apt-setup/local0/key string http://local.server/key
 250 ### DEPOT AUF ###
 251 d-i apt-setup/local0/repository string http://apt.auf.org/ jaunty auf
 252 d-i apt-setup/local0/comment string Paquets AUF pour Jaunty
 253 d-i apt-setup/local0/key string http://apt.auf.org/auf-keyring.gpg
 254 
 255 # By default the installer requires that repositories be authenticated
 256 # using a known gpg key. This setting can be used to disable that
 257 # authentication. Warning: Insecure, not recommended.
 258 #d-i debian-installer/allow_unauthenticated string true
 259 
 260 ### Package selection
 261 #tasksel tasksel/first multiselect standard, web-server
 262 # If the desktop task is selected, install the kde and xfce desktops
 263 # instead of the default gnome desktop.
 264 #tasksel tasksel/desktop multiselect kde, xfce
 265 #tasksel tasksel/first multiselect ubuntu-standard, ubuntu-desktop
 266 tasksel tasksel/first multiselect ubuntu-standard, ubuntu-desktop
 267 
 268 # Individual additional packages to install
 269 #d-i pkgsel/include string openssh-server build-essential
 270 d-i pkgsel/include string ssh auf-keyring auf-poste-client-logiciels auf-poste-client-fixe 
 271 
 272 # Whether to upgrade packages after debootstrap.
 273 # Allowed values: none, safe-upgrade, full-upgrade
 274 d-i pkgsel/upgrade select full-upgrade
 275 d-i pkgsel/update-policy select none
 276 
 277 # Language pack selection
 278 d-i pkgsel/language-packs multiselect fr, en
 279 
 280 # Some versions of the installer can report back on what software you have
 281 # installed, and what software you use. The default is not to report back,
 282 # but sending reports helps the project determine what software is most
 283 # popular and include it on CDs.
 284 popularity-contest popularity-contest/participate boolean false
 285 
 286 ### Boot loader installation
 287 # Grub is the default boot loader (for x86). If you want lilo installed
 288 # instead, uncomment this:
 289 #d-i grub-installer/skip boolean true
 290 # To also skip installing lilo, and install no bootloader, uncomment this
 291 # too:
 292 #d-i lilo-installer/skip boolean true
 293 
 294 # This is fairly safe to set, it makes grub install automatically to the MBR
 295 # if no other operating system is detected on the machine.
 296 d-i grub-installer/only_debian boolean true
 297 
 298 # This one makes grub-installer install to the MBR if it also finds some other
 299 # OS, which is less safe as it might not be able to boot that other OS.
 300 d-i grub-installer/with_other_os boolean true
 301 
 302 # Alternatively, if you want to install to a location other than the mbr,
 303 # uncomment and edit these lines:
 304 #d-i grub-installer/only_debian boolean false
 305 #d-i grub-installer/with_other_os boolean false
 306 #d-i grub-installer/bootdev  string (hd0,0)
 307 # To install grub to multiple disks:
 308 #d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
 309 
 310 # Optional password for grub, either in clear text
 311 #d-i grub-installer/password password r00tme
 312 #d-i grub-installer/password-again password r00tme
 313 # or encrypted using an MD5 hash, see grub-md5-crypt(8).
 314 #d-i grub-installer/password-crypted password [MD5 hash]
 315 
 316 ### Finishing up the installation
 317 # During installations from serial console, the regular virtual consoles
 318 # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
 319 # line to prevent this.
 320 #d-i finish-install/keep-consoles boolean true
 321 
 322 # Avoid that last message about the install being complete.
 323 d-i finish-install/reboot_in_progress note
 324 
 325 # This will prevent the installer from ejecting the CD during the reboot,
 326 # which is useful in some situations.
 327 d-i cdrom-detect/eject boolean false
 328 
 329 # This is how to make the installer shutdown when finished, but not
 330 # reboot into the installed system.
 331 #d-i debian-installer/exit/halt boolean true
 332 # This will power off the machine instead of just halting it.
 333 d-i debian-installer/exit/poweroff boolean true
 334 
 335 ### Preseeding other packages
 336 # Depending on what software you choose to install, or if things go wrong
 337 # during the installation process, it's possible that other questions may
 338 # be asked. You can preseed those too, of course. To get a list of every
 339 # possible question that could be asked during an install, do an
 340 # installation, and then run these commands:
 341 #   debconf-get-selections --installer > file
 342 #   debconf-get-selections >> file
 343 
 344 
 345 #### Advanced options
 346 ### Running custom commands during the installation
 347 # d-i preseeding is inherently not secure. Nothing in the installer checks
 348 # for attempts at buffer overflows or other exploits of the values of a
 349 # preconfiguration file like this one. Only use preconfiguration files from
 350 # trusted locations! To drive that home, and because it's generally useful,
 351 # here's a way to run any shell command you'd like inside the installer,
 352 # automatically.
 353 
 354 # This first command is run as early as possible, just after
 355 # preseeding is read.
 356 #d-i preseed/early_command string anna-install some-udeb
 357 
 358 # This command is run just before the install finishes, but when there is
 359 # still a usable /target directory. You can chroot to /target and use it
 360 # directly, or use the apt-install and in-target commands to easily install
 361 # packages and run commands in the target system.
 362 #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
 363 d-i preseed/late_command string in-target dpkg-reconfigure locales
 364 
 365 
 366 ### X configuration
 367 # X can detect the right driver for some cards, but if you're preseeding,
 368 # you override whatever it chooses. Still, vesa will work most places.
 369 #xserver-xorg xserver-xorg/config/device/driver select vesa
 370 
 371 # A caveat with mouse autodetection is that if it fails, X will retry it
 372 # over and over. So if it's preseeded to be done, there is a possibility of
 373 # an infinite loop if the mouse is not autodetected.
 374 #xserver-xorg xserver-xorg/autodetect_mouse boolean true
 375 
 376 # Monitor autodetection is recommended.
 377 xserver-xorg xserver-xorg/autodetect_monitor boolean true
 378 # Uncomment if you have an LCD display.
 379 xserver-xorg xserver-xorg/config/monitor/lcd boolean true
 380 # X has three configuration paths for the monitor. Here's how to preseed
 381 # the "medium" path, which is always available. The "simple" path may not
 382 # be available, and the "advanced" path asks too many questions.
 383 #xserver-xorg xserver-xorg/config/monitor/selection-method \
 384 #       select medium
 385 #xserver-xorg xserver-xorg/config/monitor/mode-list \
 386 #       select 1024x768 @ 60 Hz

Fichiers joints

Pour vous référer aux pièces jointes d'une page, utilisez attachment:filename, comme indiqué ci-dessous dans la liste de fichiers. N'utilisez pas l'URL du lien [get], car elle peut changer et donc être facilement cassée.
  • [télécharger | voir] (2009-06-05 09:33:00, 16.9 KB) [[attachment:preseed-jaunty.txt]]
 All files | Selected Files: delete move to page copy to page

Vous n'êtes pas autorisé à joindre un fichier à cette page.