diff --git a/scripts/README.md b/scripts/README.md index 843b982..a169169 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -13,14 +13,16 @@ Set of scripts to download and generate necessary files to allow differents GNU/ ### download_debian.sh The script will : - * Download Debian Linux kernel and initrd files for all Debian distributions (Stable : Jessie; Testing : Stretch; Unstable : Sid) and for **i386** and **amd64** architectures. - * Offer an example menu file (to use with a TFTP server). - * Store the file to **/var/lib/tftpboot** (default). + * Store the files to **/var/lib/tftpboot** (default). + * Download Debian Linux kernel and initrd files for all Debian distributions (Stable : **Jessie**; Testing : **Stretch**; Unstable : **Sid**) and for **i386** and **amd64** architectures. + * Offer an example menu file to use with a TFTP server (default_path/installer/debian/menu.cfg.example). ### download_ubuntu.sh - +The script will : + * Store the files to **/var/lib/tftpboot** (default). + * Download Ubuntu Linux kernel and initrd files for the two lasts Ubuntu distributions (LTS-16.04 : **xenial**; 15.10 : **wily**) and for **i386** and **amd64** architectures. + * Make a symlink to access to the LTS (default_path/installer/ubuntu/lts) instead of it's codename. ### make_debian_initrd_with_firmware.sh - diff --git a/scripts/download_ubuntu.sh b/scripts/download_ubuntu.sh index e304b15..035b671 100755 --- a/scripts/download_ubuntu.sh +++ b/scripts/download_ubuntu.sh @@ -1,15 +1,16 @@ #!/bin/bash # This script do the following: -# Download last Ubuntu LTS (14.04) -# Download Ubuntu 13.10 +# Download last Ubuntu LTS 16.04 (xenial) +# Download Ubuntu 15.10 (wily) +# Make a symlink to access to the last LTS TFTP_ROOT="/var/lib/tftpboot" # last Long Term Support distribution name -LTS="trusty" +LTS="xenial" -for DISTRO in saucy ${LTS}; do +for DISTRO in wily ${LTS}; do for ARCH in amd64 i386; do mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH} pushd ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}