From 160b493e8e055294f7b5387c261a65a6071e9c29 Mon Sep 17 00:00:00 2001 From: Gardais Jeremy Date: Tue, 20 Sep 2016 12:13:32 +0200 Subject: [PATCH] =?UTF-8?q?Ensure=20to=20use=20the=20NEW=20IP=20address?= =?UTF-8?q?=E2=80=AF!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 ++++++++- README.md | 12 ++++++------ config/clonezilla/menu.cfg | 4 ++-- config/debian/menu.cfg | 20 ++++++++++---------- config/diag/menu.cfg | 6 +++--- preseed/debian/jessie/preseed.cfg | 4 ++-- preseed/debian/jessie/preseed_cinnamon.cfg | 4 ++-- preseed/debian/jessie/preseed_gnome.cfg | 4 ++-- preseed/debian/jessie/preseed_mate.cfg | 4 ++-- preseed/debian/stretch/preseed.cfg | 4 ++-- preseed/debian/stretch/preseed_cinnamon.cfg | 4 ++-- preseed/debian/stretch/preseed_gnome.cfg | 4 ++-- preseed/debian/stretch/preseed_mate.cfg | 4 ++-- preseed/debian/wheezy/preseed.cfg | 4 ++-- preseed/debian/wheezy/preseed_gnome.cfg | 4 ++-- scripts/download_clonezilla.sh | 2 +- scripts/download_diag_tools.sh | 2 +- 17 files changed, 51 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf34bb5..9d16eea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## Release x.x.x +#### Features +* Delete the extra partition for free space with the Debian's preseed (#2). +* Add some backgrounds (#4). + +#### Fixes +* Use the new IP address. + ## Release 0.3.0 ### Summary @@ -9,7 +17,6 @@ Features release. * Update the PXE files to the latest Jessie version. * Documentation updates. - #### Fixes * Debian's preseed: /opt max size is 4Gb for all Debian. * Fix differences between all preseed files. diff --git a/README.md b/README.md index 7fb594f..7aa95c7 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Contains the files which defines the PXE menu. The [first one][main menu.cfg] wi * Debian Sid (unstable) amd64. * Debian Sid (unstable) amd64 with additionnals firmwares (see [make_debian_initrd_with_firmware.sh][debian initrd with firmware script] script). * Debian Sid (unstable) i386. -2. If you want to use with your own TFTPD server, you need te set your IP server ! Replace all occurrences of *129.20.27.239* by the IP of your TFTPD server to be able to load the preseed files ! +2. If you want to use with your own TFTPD server, you need te set your IP server ! Replace all occurrences of *129.20.203.27* by the IP of your TFTPD server to be able to load the preseed files ! #### config/ubuntu/menu.cfg Provide PXE entries for : @@ -161,13 +161,13 @@ See the [scripts's README.md][scripts readme.md] file for more informations. * `sudo service tftpd-hpa start` * `sudo systemctl start tftpd-hpa` * You can test if the TFTP server provide the files with a TFTP client (`tftp-hpa`) by downloading a file with the command : `tftp $IP.SRV.TFTP -c get README.md /tmp/README.md_from_tftpd_server` -* Set your IP in some files instead of the default one *129.20.27.239* : - * In configurations files to be able to call Debian's Preseed files or download squashfs filesystem (for Clonezilla, GParted,…): `sudo find config/ -iname "*.cfg" -type f -exec sed -i "s/129.20.27.239/111.222.333.444/g" {} \;` - * In Preseed files, to be able to download the late_command archive from your TFTPD server : `sudo find preseed/ -type f -exec sed -i "s/129.20.27.239/111.222.333.444/g" {} \;` - * In scripts to generate examples configuration files with the right IP address : `sudo find scripts/ -iname "*.sh" -type f -exec sed -i "s/129.20.27.239/111.222.333.444/g" {} \;` +* Set your IP in some files instead of the default one *129.20.203.27* : + * In configurations files to be able to call Debian's Preseed files or download squashfs filesystem (for Clonezilla, GParted,…): `sudo find config/ -iname "*.cfg" -type f -exec sed -i "s/129.20.203.27/111.222.333.444/g" {} \;` + * In Preseed files, to be able to download the late_command archive from your TFTPD server : `sudo find preseed/ -type f -exec sed -i "s/129.20.203.27/111.222.333.444/g" {} \;` + * In scripts to generate examples configuration files with the right IP address : `sudo find scripts/ -iname "*.sh" -type f -exec sed -i "s/129.20.203.27/111.222.333.444/g" {} \;` * Run scripts to download needed PXE files (see the [scripts's README.md][scripts readme.md] for more informations) : * Debian : `sudo ./scripts/download_debian.sh` - * Debian's initrd with additionnals firmwares : `sudo ./scripts/make_debian_initrd_with_firmware.sh"` + * Debian's initrd with additionnals firmwares : `sudo ./scripts/make_debian_initrd_with_firmware.sh` * Ubuntu : `sudo ./scripts/download_ubuntu.sh` * Diagnostic tools (Memtest86+, GParted Live,…) : `sudo ./scripts/download_diag_tools.sh` * Clonezilla : `sudo ./scripts/download_clonezilla.sh` diff --git a/config/clonezilla/menu.cfg b/config/clonezilla/menu.cfg index 5b0ecd4..f943885 100644 --- a/config/clonezilla/menu.cfg +++ b/config/clonezilla/menu.cfg @@ -3,14 +3,14 @@ MENU BACKGROUND /config/clonezilla/clonezilla_background.jpg label liveamd64 menu label Clonezilla Live ^amd64 kernel installer/clonezilla/amd64/vmlinuz - APPEND initrd=installer/clonezilla/amd64/initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://129.20.27.239/installer/clonezilla/amd64/filesystem.squashfs + APPEND initrd=installer/clonezilla/amd64/initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://129.20.203.27/installer/clonezilla/amd64/filesystem.squashfs # keyboard-layouts="fr" define the keymap # locales="fr_FR.UTF-8" define the locale # gl_batch: detect the display label livei686 menu label Clonezilla Live ^i686 kernel installer/clonezilla/i686/vmlinuz - APPEND initrd=installer/clonezilla/i686/initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://129.20.27.239/installer/clonezilla/i686/filesystem.squashfs + APPEND initrd=installer/clonezilla/i686/initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://129.20.203.27/installer/clonezilla/i686/filesystem.squashfs label separator menu label ----- label mainmenu diff --git a/config/debian/menu.cfg b/config/debian/menu.cfg index 6b97ef8..53f681f 100644 --- a/config/debian/menu.cfg +++ b/config/debian/menu.cfg @@ -11,19 +11,19 @@ label stableFirmware label stableAuto menu label Debian jessie amd64 ^PRESEED kernel installer/debian/jessie/amd64/linux - append vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/jessie/preseed.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/jessie/preseed.cfg IPAPPEND 2 label stableMate menu label Debian jessie STAGIAIRE ^Mate amd64 PRESEED kernel installer/debian/jessie/amd64/linux - append vga=normal initrd=installer/debian/jessie/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/jessie/preseed_mate.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/jessie/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/jessie/preseed_mate.cfg IPAPPEND 2 label stableCinnamon menu label Debian jessie STAGIAIRE ^Cinnamon amd64 PRESEED kernel installer/debian/jessie/amd64/linux - append vga=normal initrd=installer/debian/jessie/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/jessie/preseed_cinnamon.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/jessie/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/jessie/preseed_cinnamon.cfg IPAPPEND 2 label stableGnome menu label Debian jessie STAGIAIRE ^Gnome amd64 PRESEED kernel installer/debian/jessie/amd64/linux - append vga=normal initrd=installer/debian/jessie/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/jessie/preseed_gnome.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/jessie/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/jessie/preseed_gnome.cfg IPAPPEND 2 label stableI386 menu label Debian jessie ^i386 kernel installer/debian/jessie/i386/linux @@ -37,19 +37,19 @@ label testingFirmware label testingAuto menu label Debian stretch amd64 ^PRESEED kernel installer/debian/stretch/amd64/linux - append vga=normal initrd=installer/debian/stretch/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/stretch/preseed.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/stretch/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/stretch/preseed.cfg IPAPPEND 2 label testingMate menu label Debian stretch ^Mate amd64 PRESEED kernel installer/debian/stretch/amd64/linux - append vga=normal initrd=installer/debian/stretch/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/stretch/preseed_mate.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/stretch/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/stretch/preseed_mate.cfg IPAPPEND 2 label testingCinnamon menu label Debian stretch ^Cinnamon amd64 PRESEED kernel installer/debian/stretch/amd64/linux - append vga=normal initrd=installer/debian/stretch/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/stretch/preseed_cinnamon.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/stretch/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/stretch/preseed_cinnamon.cfg IPAPPEND 2 label testingGnome menu label Debian stretch ^Gnome amd64 PRESEED kernel installer/debian/stretch/amd64/linux - append vga=normal initrd=installer/debian/stretch/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/stretch/preseed_gnome.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/stretch/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/stretch/preseed_gnome.cfg IPAPPEND 2 label testingI386 menu label Debian stretch ^i386 kernel installer/debian/stretch/i386/linux @@ -63,7 +63,7 @@ label oldstableFirmware label oldstableAmd64 menu label Debian ^wheezy amd64 PRESEED kernel installer/debian/wheezy/amd64/linux - append vga=normal initrd=installer/debian/wheezy/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/wheezy/preseed.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/wheezy/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/wheezy/preseed.cfg IPAPPEND 2 label oldstableI386 menu label Debian wheezy i386 kernel installer/debian/wheezy/i386/linux @@ -71,7 +71,7 @@ label oldstableI386 label oldstableGnome menu label Debian wheezy STAGIAIRE Gnome amd64 PRESEED kernel installer/debian/wheezy/amd64/linux - append vga=normal initrd=installer/debian/wheezy/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/preseed/debian/wheezy/preseed_gnome.cfg IPAPPEND 2 + append vga=normal initrd=installer/debian/wheezy/amd64/initrd.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/preseed/debian/wheezy/preseed_gnome.cfg IPAPPEND 2 label separator menu label --- label unstableAmd64 diff --git a/config/diag/menu.cfg b/config/diag/menu.cfg index 62e838a..0cb01fc 100644 --- a/config/diag/menu.cfg +++ b/config/diag/menu.cfg @@ -6,15 +6,15 @@ label memtest label sysresccd menu label ^Recovery CD (SysRescCD) kernel installer/sysresccd/rescuecd - append scandelay=5 initrd=installer/sysresccd/initram.igz setkeymap=fr boottftp=tftp://129.20.27.239/installer/sysresccd/sysrcd.dat + append scandelay=5 initrd=installer/sysresccd/initram.igz setkeymap=fr boottftp=tftp://129.20.203.27/installer/sysresccd/sysrcd.dat label gpartedliveamd64 menu label Partiton Manager amd64 (^Gparted) kernel installer/gparted/amd64/vmlinuz - append initrd=installer/gparted/amd64/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://129.20.27.239/installer/gparted/amd64/filesystem.squashfs + append initrd=installer/gparted/amd64/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://129.20.203.27/installer/gparted/amd64/filesystem.squashfs label gpartedlivei686 menu label Partiton Manager i686 (^Gparted) kernel installer/gparted/i686/vmlinuz - append initrd=installer/gparted/i686/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://129.20.27.239/installer/gparted/i686/filesystem.squashfs + append initrd=installer/gparted/i686/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://129.20.203.27/installer/gparted/i686/filesystem.squashfs label separator menu label ------ label mainmenu diff --git a/preseed/debian/jessie/preseed.cfg b/preseed/debian/jessie/preseed.cfg index a7cf3be..2cf0b4a 100644 --- a/preseed/debian/jessie/preseed.cfg +++ b/preseed/debian/jessie/preseed.cfg @@ -6,7 +6,7 @@ #label jessie # menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # kernel installer/debian/jessie/amd64/linux -# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 @@ -356,7 +356,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/jessie/preseed_cinnamon.cfg b/preseed/debian/jessie/preseed_cinnamon.cfg index 95c8146..8614f22 100644 --- a/preseed/debian/jessie/preseed_cinnamon.cfg +++ b/preseed/debian/jessie/preseed_cinnamon.cfg @@ -6,7 +6,7 @@ #label jessie # menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # kernel installer/debian/jessie/amd64/linux -# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 @@ -347,7 +347,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/jessie/preseed_gnome.cfg b/preseed/debian/jessie/preseed_gnome.cfg index d68a6e7..97628f1 100644 --- a/preseed/debian/jessie/preseed_gnome.cfg +++ b/preseed/debian/jessie/preseed_gnome.cfg @@ -6,7 +6,7 @@ #label jessie # menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # kernel installer/debian/jessie/amd64/linux -# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 @@ -347,7 +347,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/jessie/preseed_mate.cfg b/preseed/debian/jessie/preseed_mate.cfg index 91e071c..22c0036 100644 --- a/preseed/debian/jessie/preseed_mate.cfg +++ b/preseed/debian/jessie/preseed_mate.cfg @@ -6,7 +6,7 @@ #label jessie # menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # kernel installer/debian/jessie/amd64/linux -# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 @@ -347,7 +347,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/stretch/preseed.cfg b/preseed/debian/stretch/preseed.cfg index 2c3cb4e..a96a277 100644 --- a/preseed/debian/stretch/preseed.cfg +++ b/preseed/debian/stretch/preseed.cfg @@ -6,7 +6,7 @@ #label jessie # menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # kernel installer/debian/jessie/amd64/linux -# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 @@ -356,7 +356,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/stretch/preseed_cinnamon.cfg b/preseed/debian/stretch/preseed_cinnamon.cfg index 2a36dba..15b8aaa 100644 --- a/preseed/debian/stretch/preseed_cinnamon.cfg +++ b/preseed/debian/stretch/preseed_cinnamon.cfg @@ -6,7 +6,7 @@ #label jessie # menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # kernel installer/debian/jessie/amd64/linux -# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 @@ -347,7 +347,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/stretch/preseed_gnome.cfg b/preseed/debian/stretch/preseed_gnome.cfg index 38ee7ad..33763b6 100644 --- a/preseed/debian/stretch/preseed_gnome.cfg +++ b/preseed/debian/stretch/preseed_gnome.cfg @@ -6,7 +6,7 @@ #label jessie # menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # kernel installer/debian/jessie/amd64/linux -# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 @@ -347,7 +347,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/stretch/preseed_mate.cfg b/preseed/debian/stretch/preseed_mate.cfg index 7a03312..38a0608 100644 --- a/preseed/debian/stretch/preseed_mate.cfg +++ b/preseed/debian/stretch/preseed_mate.cfg @@ -6,7 +6,7 @@ #label jessie # menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # kernel installer/debian/jessie/amd64/linux -# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 @@ -347,7 +347,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/wheezy/preseed.cfg b/preseed/debian/wheezy/preseed.cfg index 5975227..2c9d60a 100644 --- a/preseed/debian/wheezy/preseed.cfg +++ b/preseed/debian/wheezy/preseed.cfg @@ -6,7 +6,7 @@ #label wheezy # menu label Debian GNU/Linux Wheezy 64 bits WITH ^PRESEED # kernel installer/debian/wheezy/amd64/linux -# APPEND vga=normal initrd=installer/debian/wheezy/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/wheezy/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/wheezy/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/wheezy/amd64/preseed.cfg IPAPPEND 2 @@ -353,7 +353,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/preseed/debian/wheezy/preseed_gnome.cfg b/preseed/debian/wheezy/preseed_gnome.cfg index 64f5fae..587221d 100644 --- a/preseed/debian/wheezy/preseed_gnome.cfg +++ b/preseed/debian/wheezy/preseed_gnome.cfg @@ -6,7 +6,7 @@ #label wheezy # menu label Debian GNU/Linux Wheezy 64 bits WITH ^PRESEED # kernel installer/debian/wheezy/amd64/linux -# APPEND vga=normal initrd=installer/debian/wheezy/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.27.239/installer/debian/wheezy/amd64/preseed.cfg IPAPPEND 2 +# APPEND vga=normal initrd=installer/debian/wheezy/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/wheezy/amd64/preseed.cfg IPAPPEND 2 @@ -344,7 +344,7 @@ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ -in-target /usr/bin/tftp 129.20.27.239 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ +in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target /bin/sh /tmp/latecommand/post.sh diff --git a/scripts/download_clonezilla.sh b/scripts/download_clonezilla.sh index a9da5c3..582ec1e 100755 --- a/scripts/download_clonezilla.sh +++ b/scripts/download_clonezilla.sh @@ -35,7 +35,7 @@ for ARCH in amd64 i686; do # For available classic architecture label live${ARCH} menu label Clonezilla Live ^${ARCH} kernel installer/clonezilla/${ARCH}/vmlinuz - APPEND initrd=installer/clonezilla/${ARCH}/initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://129.20.27.239/installer/clonezilla/${ARCH}/filesystem.squashfs + APPEND initrd=installer/clonezilla/${ARCH}/initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://129.20.203.27/installer/clonezilla/${ARCH}/filesystem.squashfs EOF done diff --git a/scripts/download_diag_tools.sh b/scripts/download_diag_tools.sh index 925c2a4..0007805 100755 --- a/scripts/download_diag_tools.sh +++ b/scripts/download_diag_tools.sh @@ -61,7 +61,7 @@ for ARCH in amd64 i686; do # For available classic architecture label gpartedlive${ARCH} menu label Partiton Manager ${ARCH} (^Gparted) kernel installer/gparted/${ARCH}/vmlinuz - append initrd=installer/gparted/${ARCH}/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://129.20.27.239/installer/gparted/${ARCH}/filesystem.squashfs + append initrd=installer/gparted/${ARCH}/initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://129.20.203.27/installer/gparted/${ARCH}/filesystem.squashfs EOF done