apt_mirror_home: /home/apt-mirror
-ubuntu_client_version: ubuntu-14.04
-
signature: "Ville de Grenoble" # le nom de la ville
public_block: 10.0.0.0/24 # le bloc d'IP de la ville, que le fw laissera passer sur le serveur depuis l'extérieur
root_pwd_ecoles: MotDePasse # le mot de passe root des postes de travail dans les écoles
+vnc_pass: MotDePasse # mot de passe pour sessions vnc sur postes
cache_manager_mail: hostmaster@ecole.grenoble.fr # contact pour la gestion du squid
# kerberos # variables kerberos, non utilisees pour le moment
#auth required pam_permit.so
#auth optional pam_ccreds.so minimum_uid=2000 action=store
#"> /etc/pam.d/common-auth
-
+#
echo 'auth sufficient pam_unix.so
auth [authinfo_unavail=ignore success=1 default=2] pam_ldap.so use_first_pass
auth [default=done] pam_ccreds.so action=validate use_first_pass
/usr/sbin/nss_updatedb ldap
" > /etc/cron.daily/update-nss-db
/bin/chmod 755 -R /etc/cron.daily/update-nss-db
-
##############################################################
# automatic update of package
##############################################################
Pin: release a=jessie-backports
Pin-Priority: 999
" >> /etc/apt/preferences.d/libreoffice
-# pour la version 5 de libreoffice
apt-get -y -t jessie-backports install libreoffice libreoffice-l10n-fr
+
##############################################################
# ajout dans /etc/profile.d
##############################################################
fi
" >> /etc/profile.d/add_link.sh
-echo "MY_PROXY_URL="http://10.20.0.1:3128/"
+echo "MY_PROXY_URL="http://${HOST}:3128/"
HTTP_PROXY=$MY_PROXY_URL
HTTPS_PROXY=$MY_PROXY_URL
FTP_PROXY=$MY_PROXY_URL
## modif de pam pour le cache du mot de passe
#############################################################"
### X11 VNC ###
-x11vnc -storepasswd "GrEcole" /etc/x11vnc.pass
+x11vnc -storepasswd {{ vnc_pass }} /etc/x11vnc.pass
cat << EOF >> /etc/init/x11vnc.conf
# x11vnc - VNC server allowing to connect to a X11 opened session remotly
#################################################
### sudo-ldap
############################################
-echo "BASE $LDAP_BASE
-URI $LDAP_URI
-TLS_CACERT /etc/ssl/certs/ca-certificates.crt
-sudoers_base ou=SUDOers,$LDAP_BASE
+echo "BASE ${LDAP_BASE}
+URI ${LDAP_URI}
+TLS_CACERT /etc/ssl/certs/ca-certificates.crt
+sudoers_base ou=SUDOers,${LDAP_BASE}
timelimit 15
bind_timelimit 15
bind_policy soft
server {
listen 80;
- server_name localhost debian-ecole archive.ubuntu.com fr.archive.ubuntu.com security.ubuntu.com;
+ server_name localhost debian.ecole.grenoble.fr debian-ecole ;
gzip off;
access_log /var/log/nginx/default.access.log;
{% endfor %}
deny all;
-
- location /ubuntu {
- alias /home/apt-mirror/mirror/archive.ubuntu.com/ubuntu;
- }
-
- location /ubuntu-security {
- alias /home/apt-mirror/mirror/security.ubuntu.com/ubuntu;
- }
}
--- /dev/null
+label expert
+ menu label ^Expert install
+ kernel debian-installer/amd64/linux
+ append priority=low vga=788 initrd=debian-installer/amd64/initrd.gz ---
+include debian-installer/amd64/boot-screens/rqtxt.cfg
+label auto
+ menu label ^Automated install
+ kernel debian-installer/amd64/linux
+ append auto=true priority=critical vga=788 initrd=debian-installer/amd64/initrd.gz --- quiet
--- /dev/null
+label menu
+ kernel debian-installer/amd64/boot-screens/vesamenu.c32
+ config debian-installer/amd64/boot-screens/syslinux.cfg
--- /dev/null
+\19\f \ f0fWelcome to Debian GNU/Linux!\ f07 \ f09F1\ f07
+
+This is a Debian 8 (jessie) installation netboot image.
+It was built on 20150422+deb8u2.
+
+\ f0fHELP INDEX\ f07
+
+\ f0fKEY TOPIC\ f07
+
+<\ f09F1\ f07> This page, the help index.
+<\ f09F2\ f07> Prerequisites for installing Debian.
+<\ f09F3\ f07> Boot methods for special ways of using this netboot image
+<\ f09F4\ f07> Additional boot methods; rescue mode.
+<\ f09F5\ f07> Special boot parameters, overview.
+<\ f09F6\ f07> Special boot parameters for special machines.
+<\ f09F7\ f07> Special boot parameters for selected disk controllers.
+<\ f09F8\ f07> Special boot parameters for the install system.
+<\ f09F9\ f07> How to get help.
+<\ f09F10\ f07> Copyrights and warranties.
+\14
+For F1-F9 type control and F then the digit 1-9
+For F10 type control and F then the digit 0\13
+\17
+
+Press F2 through F10 for details, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fCOPYRIGHTS AND WARRANTIES\ f07 \ f09F10\ f07
+
+Debian GNU/Linux is Copyright (C) 1993-2014 Software in the Public Interest,
+and others.
+
+The Debian GNU/Linux system is freely redistributable. After installation,
+the exact distribution terms for each package are described in the
+corresponding file /usr/share/doc/\ f0bpackagename\ f07/copyright.
+
+Debian GNU/Linux comes with \ f0fABSOLUTELY NO WARRANTY\ f07, to the extent
+permitted by applicable law.
+
+
+
+
+
+
+
+
+
+
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fPREREQUISITES FOR INSTALLING DEBIAN\ f07 \ f09F2\ f07
+
+You must have at least 105 megabytes of RAM to use this Debian installer.
+
+You should have space on your hard disk to create a new disk partition
+of at least 680 megabytes to install the base system. You'll need more
+disk space to install additional packages, depending on what you wish
+to do with your new Debian system.
+
+See the Installation Guide or the FAQ for more information; both
+documents are available at the Debian web site, \ f0fhttp://www.debian.org/\ f07
+
+Thank you for choosing Debian!
+
+
+
+
+
+
+
+
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fBOOT METHODS\ f07 \ f09F3\ f07
+
+\ f0fAvailable boot methods:\ f07
+
+\ f0finstall\ f07
+ Start the installation -- this is the default netboot image install.
+\ f0fexpert\ f07
+ Start the installation in expert mode, for maximum control.
+
+
+
+
+
+To use one of these boot methods, type it at the prompt, optionally
+followed by any boot parameters. For example:
+ boot: install acpi=off
+
+If unsure, you should use the default boot method, with no special
+parameters, by simply pressing enter at the boot prompt.
+
+Except in expert mode, non-critical kernel boot messages are suppressed.
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fRESCUE MODE\ f07 \ f09F4\ f07
+
+\ f0fUse one of these boot methods to rescue an existing install:\ f07
+
+\ f0frescue\ f07
+ Boot into rescue mode.
+
+
+
+
+
+
+
+To use one of these boot methods, type it at the prompt, optionally
+followed by any boot parameters. For example:
+ boot: rescue acpi=off
+
+
+
+
+
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fSPECIAL BOOT PARAMETERS - OVERVIEW\ f07 \ f09F5\ f07
+
+On a few systems, you may need to specify a parameter at the \ f0fboot:\ f07
+prompt in order to boot the system. For example, Linux may not be able
+to autodetect your hardware, and you may need to explicitly specify
+its location or type for it to be recognized.
+
+For more information about what boot parameters you can use, press:
+
+ <\ f09F6\ f07> -- boot parameters for special machines
+ <\ f09F7\ f07> -- boot parameters for various disk controllers
+ <\ f09F8\ f07> -- boot parameters understood by the install system
+
+Note that to specify a parameter for a particular kernel module, use the form
+module.param=value, for example: libata.atapi_enabled=1
+
+
+
+
+
+
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fSPECIAL BOOT PARAMETERS - VARIOUS HARDWARE\ f07 \ f09F6\ f07
+
+You can use the following boot parameters at the \ f0fboot:\ f07 prompt,
+in combination with the boot method (see <\ f09F3\ f07>).
+If you use hex numbers you have to use the 0x prefix (e.g., 0x300).
+\ f0f
+HARDWARE PARAMETER TO SPECIFY\ f07
+IBM PS/1 or ValuePoint (IDE disk) \ f0fhd=\ f0bcylinders\ f0f,\ f0bheads\ f0f,\ f0bsectors\ f07
+Some IBM ThinkPads \ f0ffloppy.floppy=thinkpad\ f07
+Protect I/O port regions \ f0freserve=\ f0biobase\ f0f,\ f0bextent\ f07[\ f0f,\ f0b...\ f07]
+Laptops with screen display problems \ f0fvga=771\ f07
+Use first serial port at 9600 baud \ f0fconsole=ttyS0,9600n8\ f07
+Force use of generic IDE driver \ f0fall_generic_ide=1\ f07
+Possible (temporary) workarounds for lockups or other hardware failures:
+disable buggy APIC interrupt routing \ f0fnoapic nolapic\ f07
+(partly) disable ACPI \ f0facpi=noirq\ f07 or \ f0facpi=off\ f07
+disable USB \ f0fnousb\ f07
+poll for interrupts \ f0firqpoll\ f07
+
+For example:
+ boot: install vga=771 noapic nolapic
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fSPECIAL BOOT PARAMETERS - VARIOUS DISK DRIVES\ f07 \ f09F7\ f07
+
+You can use the following boot parameters at the \ f0fboot:\ f07 prompt,
+in combination with the boot method (see <\ f09F3\ f07>).
+\ f0f
+HARDWARE PARAMETER TO SPECIFY\ f07
+Adaptec 151x, 152x \ f0faha152x.aha152x=\ f0biobase\ f07[\ f0f,\ f0birq\ f07[\ f0f,\ f0bscsi-id\ f07[\ f0f,\ f0breconnect\ f07]]]
+Adaptec 1542 \ f0faha1542.aha1542=\ f0biobase\ f07[\ f0f,\ f0bbuson\ f0f,\ f0bbusoff\ f07[\ f0f,\ f0bdmaspeed\ f07]]
+Adaptec 274x, 284x \ f0faic7xxx.aic7xxx=no_reset\ f07 (enabled if non-zero)
+BusLogic SCSI Hosts \ f0fBusLogic.BusLogic=\ f0biobase\ f07
+Certain DELL machines \ f0faic7xxx.aic7xxx=no_probe\ f07
+
+This list is incomplete, see the kernel's kernel-parameters.txt file
+for more.
+
+
+
+
+
+For example:
+ boot: install aic7xxx.aic7xxx=no_probe
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fSPECIAL BOOT PARAMETERS - INSTALLATION SYSTEM\ f07 \ f09F8\ f07
+
+You can use the following boot parameters at the \ f0fboot:\ f07 prompt,
+in combination with the boot method (see <\ f09F3\ f07>). These parameters
+control how the installer works.
+\ f0f
+RESULT PARAMETER\ f07
+Disable framebuffer \ f0fvga=normal fb=false\ f07
+Don't start PCMCIA \ f0fhw-detect/start_pcmcia=false\ f07
+Force static network config \ f0fnetcfg/disable_dhcp=true\ f07
+Set keyboard map \ f0fbootkbd=es\ f07
+Select the desktop \ f0fdesktop=kde\ f07
+
+Accessibility options (last 2 options not available for all images):
+ Use high contrast theme \ f0ftheme=dark\ f07
+ Use Braille tty \ f0fbrltty=driver,device,texttable\ f07
+ Use Speakup \ f0fspeakup.synth=driver\ f07
+
+
+For example:
+ boot: install vga=normal fb=false
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+\19\f\ f0fGETTING HELP\ f07 \ f09F9\ f07
+
+If you can't install Debian, don't despair! The Debian team is ready to
+help you! We are especially interested in hearing about installation
+problems, because in general they don't happen to only \ f0fone\ f07 person.
+We've either already heard about your particular problem and can dispense a
+quick fix, or we would like to hear about it and work through it with you,
+and the next user who comes up with the same problem will profit from your
+experience!
+
+See the Installation Guide or the FAQ for more information; both
+documents are available at the Debian web site, \ f0fhttp://www.debian.org/\ f07
+
+
+
+
+
+
+
+
+
+
+Press \13F1\14control and F then 1\17 for the help index, or ENTER to
\ No newline at end of file
--- /dev/null
+menu hshift 7
+menu width 61
+
+menu title \aDebian GNU/Linux installer boot menu
+include debian-installer/amd64/boot-screens/stdmenu.cfg
+include debian-installer/amd64/boot-screens/txt.cfg
+include debian-installer/amd64/boot-screens/amdtxt.cfg
+include debian-installer/amd64/boot-screens/gtk.cfg
+include debian-installer/amd64/boot-screens/amdgtk.cfg
+menu begin advanced
+ menu label ^Advanced options
+ menu title Advanced options
+ include debian-installer/amd64/boot-screens/stdmenu.cfg
+ label mainmenu
+ menu label ^Back..
+ menu exit
+ include debian-installer/amd64/boot-screens/adtxt.cfg
+ include debian-installer/amd64/boot-screens/amdadtxt.cfg
+ include debian-installer/amd64/boot-screens/adgtk.cfg
+ include debian-installer/amd64/boot-screens/amdadgtk.cfg
+menu end
+label help
+ menu label ^Help
+ text help
+ Display help screens; type 'menu' at boot prompt to return to this menu
+ endtext
+ config debian-installer/amd64/boot-screens/prompt.cfg
+include debian-installer/amd64/boot-screens/spk.cfg
+include debian-installer/amd64/boot-screens/amdspk.cfg
+include debian-installer/amd64/boot-screens/spkgtk.cfg
+include debian-installer/amd64/boot-screens/amdspgtk.cfg
--- /dev/null
+prompt 1
+display debian-installer/amd64/boot-screens/f1.txt
+timeout 0
+include debian-installer/amd64/boot-screens/menu.cfg
+include debian-installer/amd64/boot-screens/exithelp.cfg
+
+f1 debian-installer/amd64/boot-screens/f1.txt
+f2 debian-installer/amd64/boot-screens/f2.txt
+f3 debian-installer/amd64/boot-screens/f3.txt
+f4 debian-installer/amd64/boot-screens/f4.txt
+f5 debian-installer/amd64/boot-screens/f5.txt
+f6 debian-installer/amd64/boot-screens/f6.txt
+f7 debian-installer/amd64/boot-screens/f7.txt
+f8 debian-installer/amd64/boot-screens/f8.txt
+f9 debian-installer/amd64/boot-screens/f9.txt
+f0 debian-installer/amd64/boot-screens/f10.txt
--- /dev/null
+label rescue
+ menu label ^Rescue mode
+ kernel debian-installer/amd64/linux
+ append vga=788 initrd=debian-installer/amd64/initrd.gz rescue/enable=true --- quiet
--- /dev/null
+label installspk
+ menu label Install with ^speech synthesis
+ kernel debian-installer/amd64/linux
+ append vga=788 initrd=debian-installer/amd64/initrd.gz speakup.synth=soft --- quiet
--- /dev/null
+menu background debian-installer/amd64/boot-screens/splash.png
+menu color title * #FFFFFFFF *
+menu color border * #00000000 #00000000 none
+menu color sel * #ffffffff #76a1d0ff *
+menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff *
+menu color tabmsg * #ffffffff #00000000 *
+menu color help 37;40 #ffdddd00 #00000000 none
+# XXX When adjusting vshift, take care that rows is set to a small
+# enough value so any possible menu will fit on the screen,
+# rather than falling off the bottom.
+menu vshift 12
+menu rows 10
+menu helpmsgrow 15
+# The command line must be at least one line from the bottom.
+menu cmdlinerow 16
+menu timeoutrow 16
+menu tabmsgrow 18
+menu tabmsg Press ENTER to boot or TAB to edit a menu entry
--- /dev/null
+# D-I config version 2.0
+# search path for the c32 support libraries (libcom32, libutil etc.)
+path debian-installer/amd64/boot-screens/
+include debian-installer/amd64/boot-screens/menu.cfg
+default debian-installer/amd64/boot-screens/vesamenu.c32
+prompt 0
+timeout 0
--- /dev/null
+default install
+label install
+ menu label ^Install
+ menu default
+ kernel debian-installer/amd64/linux
+ append vga=788 initrd=debian-installer/amd64/initrd.gz --- quiet
owner=root group=root mode=0755
with_items:
- pxelinux.cfg
- - "{{ ubuntu_client_version }}"
+ - debian-64
+ - debian-32
+ - boot-screens
- name: Deploy menu for boot or install
template: src=pxelinux.cfg.default.j2 dest=/srv/tftp/pxelinux.cfg/default
- pxelinux.0
- menu.c32
- fr-pc.ktl
+ - ldlinux.c32
-- name: Copy files in ubuntu client directory
- copy: src={{ ubuntu_client_version }}/{{ item }} dest=/srv/tftp/{{ ubuntu_client_version }}/{{ item }}
+- name: Copy files in debian client directory
+ copy: src={{ item }}/ dest=/srv/tftp/{{ item }}
owner=root group=root mode=0644
with_items:
- - linux
- - initrd.gz
+ - debian-64
+ - debian-32
+ - boot-screens
# {{ ansible_managed }}
-#### Contents of the preconfiguration file (for squeeze)
+
+#### Contents of the preconfiguration file
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string fr_FR
# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
-#d-i netcfg/dhcp_timeout string 60
+d-i netcfg/dhcp_timeout string 60
# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
#d-i mirror/protocol string ftp
d-i mirror/country string manual
#d-i mirror/http/hostname string 10.20.0.1
-d-i mirror/http/hostname string archive.ubuntu.com
-d-i mirror/http/directory string /ubuntu
-d-i mirror/http/proxy string
+d-i mirror/http/hostname string ftp.fr.debian.org
+d-i mirror/http/directory string /debian
+d-i mirror/http/proxy string http://{{ ansible_eth1.ipv4.address }}:3128/
# Alternatively: by default, the installer uses CC.archive.ubuntu.com where
# CC is the ISO-3166-2 code for the selected country. You can preseed this
#d-i mirror/http/mirror select CC.archive.ubuntu.com
# Suite to install.
-#d-i mirror/suite string squeeze
+d-i mirror/suite string stable
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string squeeze
# Components to use for loading installer components (optional).
# system labels, volume group names and which physical devices to include
# in a volume group.
-# This makes partman automatically partition without confirmation, provided
-# that you told it what to do using one of the methods above.
-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
-
## Partitioning using RAID
# The method should be set to "raid".
#d-i partman-auto/method string raid
#d-i apt-setup/services-select multiselect security
#d-i apt-setup/security_host string security.ubuntu.com
#d-i apt-setup/security_path string /ubuntu
+d-i apt-setup/non-free boolean true
+d-i apt-setup/contrib boolean true
+d-i apt-setup/services-select multiselect security
+d-i apt-setup/security_host string security.debian.org
+
+d-i apt-setup/local0/repository string deb http://http.debian.net/debian jessie-backports main
# Additional repositories, local[0-9] available
#d-i apt-setup/local0/repository string \
#d-i debian-installer/allow_unauthenticated boolean true
### Package selection
-tasksel tasksel/first multiselect ubuntu-desktop
+#tasksel tasksel/first multiselect ubuntu-desktop
#tasksel tasksel/first multiselect lamp-server, print-server
#tasksel tasksel/first multiselect kubuntu-desktop
-
+tasksel tasksel/first multiselect standard, print-server ,xfce-desktop
+d-i pkgsel/include string openssh-server vim-nox x11vnc ttf-mscorefonts-installer curl libnss-ldapd nslcd libpam-ccreds libnss-db nss-updatedb sudo-ldap nfs-common icedtea-plugin gcompris gcompris-sound-fr geogebra kdeedu vlc tuxpaint tuxmath tuxtype audacity playonlinux myspell-fr-gut kde-l10n-fr firmware-b43-installer galculator icedove icedove-l10n-fr xul-ext-adblock-plus flashplugin-nonfree
# Individual additional packages to install
#d-i pkgsel/include string openssh-server build-essential
#d-i pkgsel/include string openssh-server libnss-ldapd nfs-common nss-updatedb libpam-ccreds cairo-dock
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
#d-i pkgsel/upgrade select none
-
# Language pack selection
d-i pkgsel/language-packs multiselect fr
# 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 true
-
+d-i grub-installer/bootdev string default
# 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
# select medium
#xserver-xorg xserver-xorg/config/monitor/mode-list \
# select 1024x768 @ 60 Hz
-
+#libnss-ldapd libnss-ldapd/nsswitch multiselect
+#nslcd nslcd/ldap-base string dc=ecole,dc=grenoble,dc=fr
+#nslcd nslcd/ldap-uris string ldap://ldap.ecole.grenoble.fr/
+# Services de nom à configurer :
+# Choices: aliases, ethers, group, hosts, netgroup, networks, passwd, protocols, rpc, services, shadow
+libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow
+libnss-ldapd:amd64 libnss-ldapd/nsswitch multiselect group, passwd, shadow
+# Faut-il supprimer LDAP de nsswitch.conf maintenant ?
+libnss-ldapd libnss-ldapd/clean_nsswitch boolean false
+libnss-ldapd:amd64 libnss-ldapd/clean_nsswitch boolean false
+nslcd nslcd/ldap-bindpw password
+nslcd nslcd/ldap-sasl-authzid string
+nslcd libraries/restart-without-asking boolean false
+# Services à redémarrer lors de la mise à niveau de nslcd :
+nslcd nslcd/restart-services string
+nslcd nslcd/ldap-sasl-mech select
+nslcd nslcd/ldap-base string {{ ldap_dc }}
+nslcd nslcd/ldap-uris string ldap://{{ ldap_server }}/
+nslcd nslcd/ldap-auth-type select none
+nslcd nslcd/ldap-sasl-krb5-ccname string /var/run/nslcd/nslcd.tkt
+nslcd nslcd/disable-screensaver error
+nslcd nslcd/ldap-sasl-authcid string
+nslcd nslcd/ldap-cacertfile string /etc/ssl/certs/ca-certificates.crt
+nslcd nslcd/ldap-sasl-secprops string
+nslcd nslcd/xdm-needs-restart error
+nslcd nslcd/ldap-sasl-realm string
+nslcd nslcd/ldap-starttls boolean false
+nslcd nslcd/ldap-reqcert select
+nslcd nslcd/ldap-binddn string
+# Erreur du redémarrage de certains services pour la mise à niveau de nslcd
+nslcd nslcd/restart-failed error
+unattended-upgrades unattended-upgrades/enable_auto_updates boolean true
### Preseeding other packages
# Depending on what software you choose to install, or if things go wrong
# during the installation process, it's possible that other questions may
d-i preseed/late_command string \
in-target /usr/bin/wget http://{{ ansible_eth1.ipv4.address }}/auto_configure.sh -O /root/auto_configure.sh; \
in-target /bin/sh /root/auto_configure.sh
+
# {{ ansible_managed }}
-default menu.c32
+
+path boot-screens/
+include boot-screens/menu.cfg
+default boot-screens/vesamenu.c32
+
prompt 0
timeout 100
kbdmap fr-pc.ktl
localboot -1
label 1
- menu label ^Installation Automatique Ubuntu 64 bits
+ menu label ^Installation Automatique Debian 64 bits
# Génération du mot de passe avec la commande sha1pass (paquet syslinux-common)
menu passwd $4$rxlNjfbB$Fpuyc2XtdG7Bew8sh5GBrmJAepc$
- kernel ubuntu-14.04/linux
- append vga=normal initrd=ubuntu-14.04/initrd.gz auto=true debconf/language=fr languagechooser/language-name=French countrychooser/shortlist=FR debian-installer/locale=fr_FR.UTF-8 keyboard-configuration/xkb-keymap=fr url=http://{{ ansible_eth1.ipv4.address }}/preseed.cfg priority=critical DEBCONF_DEBUG=5
+ kernel debian-64/linux
+ append vga=normal initrd=debian-64/initrd.gz auto=true debconf/language=fr languagechooser/language-name=French countrychooser/shortlist=FR debian-installer/locale=fr_FR.UTF-8 keyboard-configuration/xkb-keymap=fr url=http://{{ ansible_eth1.ipv4.address }}/preseed.cfg priority=critical DEBCONF_DEBUG=5
+# append vga=normal initrd=debian-64/initrd.gz
label 2
- menu label ^Installation Automatique Xubuntu 64 bits
- # Génération du mot de passe avec la commande sha1pass (paquet syslinux-common)
- menu passwd $4$rxlNjfbB$Fpuyc2XtdG7Bew8sh5GBrmJAepc$
- kernel ubuntu-14.04/xub-linux
- append vga=normal initrd=ubuntu-14.04/xub-initrd.gz auto=true debconf/language=fr languagechooser/language-name=French countrychooser/shortlist=FR debian-installer/locale=fr_FR.UTF-8 keyboard-configuration/xkb-keymap=fr url=http://{{ ansible_eth1.ipv4.address }}/preseed.cfg priority=critical DEBCONF_DEBUG=5
-
-label 3
- menu label ^Installation Automatique Xubuntu 32 bits
+ menu label ^Installation Automatique Debian 32 bits
# Génération du mot de passe avec la commande sha1pass (paquet syslinux-common)
menu passwd $4$rxlNjfbB$Fpuyc2XtdG7Bew8sh5GBrmJAepc$
- kernel ubuntu-14.04/32-xub-linux
- append vga=normal initrd=ubuntu-14.04/32-xub-initrd.gz auto=true debconf/language=fr languagechooser/language-name=French countrychooser/shortlist=FR debian-installer/locale=fr_FR.UTF-8 keyboard-configuration/xkb-keymap=fr url=http://{{ ansible_eth1.ipv4.address }}/preseed.cfg priority=critical DEBCONF_DEBUG=5
-
-label 4
- menu label ^Installation Automatique Ubuntu 32 bits
- # Génération du mot de passe avec la commande sha1pass (paquet syslinux-common)
- menu passwd $4$rxlNjfbB$Fpuyc2XtdG7Bew8sh5GBrmJAepc$
- kernel ubuntu-14.04/32-linux
- append vga=normal initrd=ubuntu-14.04/32-initrd.gz auto=true debconf/language=fr languagechooser/language-name=French countrychooser/shortlist=FR debian-installer/locale=fr_FR.UTF-8 keyboard-configuration/xkb-keymap=fr url=http://{{ ansible_eth1.ipv4.address }}/preseed.cfg priority=critical DEBCONF_DEBUG=5
-
+ kernel debian-32/linux
+ append vga=normal initrd=debian-32/initrd.gz auto=true debconf/language=fr languagechooser/language-name=French countrychooser/shortlist=FR debian-installer/locale=fr_FR.UTF-8 keyboard-configuration/xkb-keymap=fr url=http://{{ ansible_eth1.ipv4.address }}/preseed.cfg priority=critical DEBCONF_DEBUG=5
+# append vga=normal initrd=debian-32/initrd.gz