README.md: Add description of the download_ubuntu.sh script.
This commit is contained in:
parent
fb826abf15
commit
cc3d7bd7cd
|
@ -13,14 +13,16 @@ Set of scripts to download and generate necessary files to allow differents GNU/
|
||||||
|
|
||||||
### download_debian.sh
|
### download_debian.sh
|
||||||
The script will :
|
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.
|
* Store the files to **/var/lib/tftpboot** (default).
|
||||||
* Offer an example menu file (to use with a TFTP server).
|
* Download Debian Linux kernel and initrd files for all Debian distributions (Stable : **Jessie**; Testing : **Stretch**; Unstable : **Sid**) and for **i386** and **amd64** architectures.
|
||||||
* Store the file to **/var/lib/tftpboot** (default).
|
* Offer an example menu file to use with a TFTP server (default_path/installer/debian/menu.cfg.example).
|
||||||
|
|
||||||
### download_ubuntu.sh
|
### 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
|
### make_debian_initrd_with_firmware.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This script do the following:
|
# This script do the following:
|
||||||
# Download last Ubuntu LTS (14.04)
|
# Download last Ubuntu LTS 16.04 (xenial)
|
||||||
# Download Ubuntu 13.10
|
# Download Ubuntu 15.10 (wily)
|
||||||
|
# Make a symlink to access to the last LTS
|
||||||
|
|
||||||
TFTP_ROOT="/var/lib/tftpboot"
|
TFTP_ROOT="/var/lib/tftpboot"
|
||||||
|
|
||||||
# last Long Term Support distribution name
|
# 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
|
for ARCH in amd64 i386; do
|
||||||
mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
|
mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
|
||||||
pushd ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
|
pushd ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
|
||||||
|
|
Loading…
Reference in New Issue