add chown gn-postinstall folder for visiteur ownership
This commit is contained in:
parent
c71b051aed
commit
1854bbca23
@ -64,11 +64,6 @@ item debian-live-32 Debian-12-Live-32
|
||||
item --gap -- -------------LMDE-LIVE-32---------------
|
||||
item lmde-32 LMDE-live-32
|
||||
|
||||
item --gap --
|
||||
item --gap -- ----------------TEST-------------------
|
||||
item --gap -- -------------DEBIAN-12-AUTO-------------
|
||||
item debian-12-test Debian-12-test-post-install
|
||||
|
||||
item --gap --
|
||||
item --gap -- -------------SORTIR---------------------
|
||||
item shell Shell iPXE
|
||||
@ -94,14 +89,6 @@ initrd http://${server_ip}/tftpboot/debian-12/64/debian-installer/amd64/initrd.g
|
||||
imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0
|
||||
boot || goto menu
|
||||
|
||||
#Paramètres de démarrage pour DEBIAN-12 preseed
|
||||
:debian-12-auto
|
||||
kernel http://${server_ip}/tftpboot/debian-12/64/debian-installer/amd64/linux
|
||||
initrd http://${server_ip}/tftpboot/debian-12/64/debian-installer/amd64/initrd.gz
|
||||
#imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0 auto=true keymap=fr locale=FR_fr ip=dhcp domain=garage hostname=debian preseed/url=http://${server_ip}/tftpboot/debian-12/64/debian-12-preseed.cfg
|
||||
imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0 debian-installer=fr_FR.UTF-8 locale=fr_FR.UTF-8 kbd-chooser/method=fr auto-install/enable=true ip=dhcp hostname=debian domain=garage preseed/url=http://${server_ip}/tftpboot/debian-12/64/debian-12-preseed.cfg
|
||||
boot || goto menu
|
||||
|
||||
#Paramètres de démarrage pour DEBIAN-13
|
||||
:debian-13
|
||||
#kernel https://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux
|
||||
@ -111,14 +98,6 @@ initrd http://${server_ip}/tftpboot/debian-13/64/initrd.gz
|
||||
imgargs vmlinuz initrd=initrd linux DEBIAN_FRONTEND=newt --- net.ifnames=0 mirror/suite=trixie
|
||||
boot || goto menu
|
||||
|
||||
#Paramètres de démarrage pour DEBIAN-12 test post install
|
||||
:debian-12-test
|
||||
kernel http://${server_ip}/tftpboot/debian-12/64/debian-installer/amd64/linux
|
||||
initrd http://${server_ip}/tftpboot/debian-12/64/debian-installer/amd64/initrd.gz
|
||||
#imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0 auto=true keymap=fr locale=FR_fr ip=dhcp domain=garage hostna>
|
||||
imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0 debian-installer=fr_FR.UTF-8 locale=fr_FR.UTF-8 kbd-chooser/method=fr auto-install/enable=true ip=dhcp hostname=debian domain=garage preseed/url=http://${server_ip}/tftpboot/debian-12/64/debian-12-test.cfg
|
||||
boot || goto menu
|
||||
|
||||
:debian-live-32
|
||||
kernel http://${server_ip}/tftpboot/debian-12/32/install.386/vmlinuz
|
||||
initrd http://${server_ip}/tftpboot/debian-12/32/install.386/initrd.gz
|
||||
@ -127,13 +106,6 @@ boot
|
||||
|
||||
##################################### OS-32 ###############################################
|
||||
|
||||
# Debian 12 32 bits
|
||||
:debian-12-32
|
||||
kernel http://${server_ip}/tftpboot/debian-12/32/debian-installer/i386/linux
|
||||
initrd http://${server_ip}/tftpboot/debian-12/32/debian-installer/i386/initrd.gz
|
||||
imgargs linux DEBIAN_FRONTEND=newt --- net.ifnames=0
|
||||
boot || goto menu
|
||||
|
||||
#Paramètres de démarrage pour SLITAZ-LIVE-32 -- TESTING
|
||||
:slitaz-live-32
|
||||
kernel http://192.168.1.100/tftpboot/slitaz-live-32/boot/bzImage
|
||||
|
||||
@ -32,8 +32,13 @@ d-i keyboard-configuration/optionscode string
|
||||
# netcfg will choose an interface that has link if possible. This makes it
|
||||
# skip displaying a list if there is more than one interface.
|
||||
# d-i netcfg/choose_interface select auto
|
||||
d-i netcfg/choose_interface select auto
|
||||
#d-i netcfg/choose_interface select auto
|
||||
#d-i netcfg/link_wait_timeout string 10
|
||||
#d-i netcfg/wireless_enable boolean false
|
||||
|
||||
d-i netcfg/choose_interface select eth0
|
||||
d-i netcfg/wireless_enable boolean false
|
||||
d-i hw-detect/load_firmware boolean true
|
||||
|
||||
# from being shown, even if values come from dhcp.
|
||||
# d-i netcfg/domain seen false
|
||||
@ -149,7 +154,6 @@ d-i partman/confirm_nooverwrite boolean true
|
||||
# Choose, if you want to scan additional installation media
|
||||
# (default: false).
|
||||
d-i apt-setup/cdrom/set-first boolean false
|
||||
# You can choose to install non-free firmware.
|
||||
# Enable non-free firmware automatically
|
||||
d-i apt-setup/non-free-firmware boolean true
|
||||
d-i apt-setup/non-free boolean true
|
||||
@ -161,7 +165,7 @@ d-i hw-detect/load_firmware boolean true
|
||||
### Package selection
|
||||
#tasksel tasksel/first multiselect standard, web-server, kde-desktop
|
||||
tasksel tasksel/first multiselect standard, desktop, laptop, print-server, ssh-server
|
||||
d-i pkgsel/include string curl git wget apt-transport-https ca-certificates curl gnupg2 samba w3m elinks links2 rsync screen udisks2
|
||||
d-i pkgsel/include string curl git wget apt-transport-https ca-certificates curl gnupg2 samba w3m elinks links2 rsync screen udisks2 firmware-iwlwifi
|
||||
|
||||
# Or choose to not get the tasksel dialog displayed at all (and don't install
|
||||
# any packages):
|
||||
@ -197,7 +201,12 @@ d-i grub-installer/with_other_os boolean true
|
||||
# To install to the primary device (assuming it is not a USB stick):
|
||||
d-i grub-installer/bootdev string default
|
||||
|
||||
# post-install garage
|
||||
d-i preseed/late_command string \
|
||||
in-target /bin/bash -c 'cd /home/visiteur && git clone https://git.legaragenumerique.fr/GARAGENUM/trixie-gn-postinstall' ; \
|
||||
in-target /bin/bash -c 'chown -R visiteur:visiteur /home/visiteur/gn-postinstall'
|
||||
|
||||
#d-i debian-installer/exit/halt boolean true
|
||||
# This will power off the machine instead of just halting it.
|
||||
d-i finish-install/keep-consoles boolean false
|
||||
d-i debian-installer/exit/poweroff boolean true
|
||||
# d-i finish-install/keep-consoles boolean true
|
||||
Loading…
x
Reference in New Issue
Block a user