pf-tools commit: r602 [ccaillet-guest] - in /trunk/templates: debian-installer debian-installer.pxe debian-preseed.tpl pf-tools pftools.pxe

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Thu Jul 10 08:26:09 UTC 2008


Author: ccaillet-guest
Date: Thu Jul 10 08:26:08 2008
New Revision: 602

URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=602
Log:
Some adds and changes for templates parts

Added:
    trunk/templates/debian-installer
      - copied unchanged from r601, trunk/templates/debian-installer.pxe
    trunk/templates/debian-preseed.tpl
    trunk/templates/pf-tools
      - copied unchanged from r601, trunk/templates/pftools.pxe
Removed:
    trunk/templates/debian-installer.pxe
    trunk/templates/pftools.pxe

Added: trunk/templates/debian-preseed.tpl
URL: http://svn.debian.org/wsvn/pf-tools/trunk/templates/debian-preseed.tpl?rev=602&op=file
==============================================================================
--- trunk/templates/debian-preseed.tpl (added)
+++ trunk/templates/debian-preseed.tpl Thu Jul 10 08:26:08 2008
@@ -1,0 +1,147 @@
+#### Contents of the preconfiguration file
+d-i debconf/priority select critical
+
+### Localization
+# Locale sets language and country.
+d-i debian-installer/locale string en_US
+
+# Keyboard selection.
+d-i console-keymaps-at/keymap select fr
+
+### Network configuration
+#d-i netcfg/choose_interface select auto
+#d-i interface select eth0
+d-i interface string eth0
+d-i interface seen false
+d-i netcfg/get_hostname string unassigned-hostname
+d-i netcfg/get_domain string unassigned-domain
+d-i netcfg/no_default_route boolean true
+# Disable that annoying WEP key dialog.
+d-i netcfg/wireless_wep string
+
+### Mirror settings
+d-i mirror/protocol string http
+d-i mirror/country string enter information manually
+d-i mirror/http/hostname string deploy.private
+d-i mirror/http/directory string /debian
+d-i mirror/http/proxy string
+
+# Suite to install.
+d-i mirror/suite string etch
+
+### Clock and time zone setup
+d-i clock-setup/utc boolean false
+d-i time/zone string Europe/Paris
+d-i clock-setup/ntp boolean false
+d-i clock-setup/ntp-server string fwadmin.vlan-systeme.private
+
+### Partitioning
+d-i partman-auto/disk string /dev/sda
+d-i partman-auto/method string regular
+d-i partman-auto/purge_lvm_from_device boolean true
+d-i partman-lvm/confirm boolean true
+#d-i partman-auto/choose_recipe \
+#       select All files in one partition (recommended for new users)
+d-i partman-auto/expert_recipe string                       \
+      boot-root ::                                          \
+              64 72 80 ext3                                 \
+                     $primary{ } $bootable{ }               \
+                     method{ format } format{ }             \
+                     use_filesystem{ } filesystem{ ext3 }   \
+                     mountpoint{ /boot }                    \
+              .                                             \
+              500 10000 1000000000 ext3                     \
+	      	     $primary{ }			    \
+                     method{ format } format{ }             \
+                     use_filesystem{ } filesystem{ ext3 }   \
+                     mountpoint{ / }                        \
+              .                                             \
+              64 512 100% linux-swap                        \
+                     method{ swap } format{ }               \
+              .                                             
+d-i partman/confirm_write_new_label boolean true
+d-i partman/choose_partition \
+       select Finish partitioning and write changes to disk
+d-i partman/confirm boolean true
+
+### Base system installation
+d-i base-installer/kernel/image string %KERNELPKG%
+
+### Account setup
+d-i passwd/root-login boolean false
+d-i passwd/user-fullname string Auto Installer
+d-i passwd/username string auto
+d-i passwd/user-password password auto
+d-i passwd/user-password-again password auto
+#d-i passwd/user-password-crypted password [MD5 hash]
+
+### Apt setup
+d-i apt-setup/non-free boolean true
+d-i apt-setup/contrib boolean true
+d-i apt-setup/services-select string multi-select security
+d-i apt-setup/security_host string deploy.private/debian-security
+#d-i apt-setup/volatile_host string volatile.debian.org
+# Additional repositories, local[0-9] available
+d-i apt-setup/local0/repository string \
+       http://deploy.private/debian-custom etch common
+#d-i apt-setup/local0/key string http://local.server/key
+# By default the installer requires that repositories be authenticated
+# using a known gpg key. This setting can be used to disable that
+# authentication. Warning: Insecure, not recommended.
+d-i debian-installer/allow_unauthenticated string true
+
+### Package selection
+tasksel tasksel/first string multiselect standard
+# Individual additional packages to install
+#d-i pkgsel/include string openssh-server
+#d-i pkgsel/include string pf-tools
+popularity-contest popularity-contest/participate boolean false
+
+### 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
+# To also skip installing lilo, and install no bootloader, uncomment this
+# too:
+#d-i lilo-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 it also finds some other
+# OS, which is less safe as it might not be able to boot that other OS.
+#d-i grub-installer/with_other_os boolean false
+# Alternatively, if you want to install to a location other than the mbr,
+# uncomment and edit these lines:
+#d-i grub-installer/only_debian boolean false
+#d-i grub-installer/with_other_os boolean false
+#d-i grub-installer/bootdev  string (hd0,0)
+# To install grub to multiple disks:
+#d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
+
+### Post-install command before reboot
+d-i preseed/late_command string apt-install %KERNELPKG% ; apt-install nfs-common ; apt-install pf-tools ; in-target wget http://deploy.private/pf-tools-config.sh -O /tmp/pf-tools-config.sh ; in-target sh /tmp/pf-tools-config.sh 
+
+### Finishing up the installation
+# Avoid that last message about the install being complete.
+d-i finish-install/reboot_in_progress note
+
+#### Advanced options
+### Running custom commands during the installation
+# 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.
+#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
+#d-i preseed/late_command string apt-install pf-tools; in-target update-config
+




More information about the pf-tools-commits mailing list